Skip to content

Commit 4d3207b

Browse files
author
Rohit Jain
committed
initial commit
0 parents  commit 4d3207b

38 files changed

+19514
-0
lines changed

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
.history
3+
dist
4+
little-data-app-ui.code-workspace
5+
.DS_Store

.vscode/settings.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"cSpell.words": [
3+
"Injectable",
4+
"apikeys",
5+
"datepicker",
6+
"nsalaun",
7+
"paginator",
8+
"selectable",
9+
"sublabel",
10+
"validators"
11+
]
12+
}

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Setup
2+
* Ensure you have Node 12 and NPM 6 installed.
3+
4+
# Run locally
5+
* ng serve
6+
# Prod Build
7+
* ng build --prod --aot
8+
# Other info
9+
* Environment file -> environments/environment.ts

angular.json

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"simple-survey-ui": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"architect": {
11+
"build": {
12+
"builder": "@angular-devkit/build-angular:browser",
13+
"options": {
14+
"outputPath": "dist/static",
15+
"index": "src/index.html",
16+
"main": "src/main.ts",
17+
"tsConfig": "src/tsconfig.json",
18+
"polyfills": "src/polyfills.ts",
19+
"assets": [
20+
{
21+
"glob": "**/*",
22+
"input": "docs",
23+
"output": "/docs"
24+
},
25+
{
26+
"glob": "**/*",
27+
"input": "node_modules/@covalent/code-editor/assets/monaco",
28+
"output": "/assets/monaco"
29+
},
30+
"src/assets",
31+
"src/data",
32+
"src/favicon.ico"
33+
],
34+
"styles": [
35+
"src/styles.scss",
36+
"src/theme.scss"
37+
],
38+
"scripts": [
39+
"node_modules/hammerjs/hammer.min.js",
40+
"node_modules/showdown/dist/showdown.js"
41+
]
42+
},
43+
"configurations": {
44+
"production": {
45+
"index": {
46+
"input": "src/index.prod.html",
47+
"output": "index.html"
48+
},
49+
"optimization": true,
50+
"outputHashing": "all",
51+
"sourceMap": false,
52+
"extractCss": true,
53+
"namedChunks": false,
54+
"aot": true,
55+
"extractLicenses": true,
56+
"vendorChunk": false,
57+
"buildOptimizer": true
58+
}
59+
}
60+
},
61+
"serve": {
62+
"builder": "@angular-devkit/build-angular:dev-server",
63+
"options": {
64+
"browserTarget": "simple-survey-ui:build",
65+
"port": 5200,
66+
"host": "localhost"
67+
},
68+
"configurations": {
69+
"production": {
70+
"browserTarget": "simple-survey-ui:build:production"
71+
}
72+
}
73+
},
74+
"extract-i18n": {
75+
"builder": "@angular-devkit/build-angular:extract-i18n",
76+
"options": {
77+
"browserTarget": "newsapi-v3-ui:build"
78+
}
79+
},
80+
"lint": {
81+
"builder": "@angular-devkit/build-angular:tslint",
82+
"options": {
83+
"tsConfig": [
84+
"src/tsconfig.json"
85+
],
86+
"exclude": []
87+
}
88+
}
89+
}
90+
},
91+
"simple-survey-ui-e2e": {
92+
"root": "e2e",
93+
"sourceRoot": "e2e",
94+
"projectType": "application"
95+
}
96+
},
97+
"defaultProject": "simple-survey-ui",
98+
"schematics": {
99+
"@schematics/angular:component": {
100+
"prefix": "app",
101+
"styleext": "scss"
102+
},
103+
"@schematics/angular:directive": {
104+
"prefix": "app"
105+
}
106+
}
107+
}

0 commit comments

Comments
 (0)