Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8d679b7

Browse files
committed
Creating the demo_app
1 parent 889917b commit 8d679b7

14 files changed

+736
-0
lines changed

angular.json

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,106 @@
3939
}
4040
}
4141
}
42+
},
43+
"demo_app": {
44+
"projectType": "application",
45+
"schematics": {},
46+
"root": "projects/demo_app",
47+
"sourceRoot": "projects/demo_app/src",
48+
"prefix": "app",
49+
"architect": {
50+
"build": {
51+
"builder": "@angular-devkit/build-angular:browser",
52+
"options": {
53+
"outputPath": "dist/demo_app",
54+
"index": "projects/demo_app/src/index.html",
55+
"main": "projects/demo_app/src/main.ts",
56+
"polyfills": [
57+
"zone.js"
58+
],
59+
"tsConfig": "projects/demo_app/tsconfig.app.json",
60+
"assets": [
61+
"projects/demo_app/src/favicon.ico",
62+
"projects/demo_app/src/assets"
63+
],
64+
"styles": [
65+
"projects/demo_app/src/styles.css"
66+
],
67+
"scripts": []
68+
},
69+
"configurations": {
70+
"production": {
71+
"budgets": [
72+
{
73+
"type": "initial",
74+
"maximumWarning": "500kb",
75+
"maximumError": "1mb"
76+
},
77+
{
78+
"type": "anyComponentStyle",
79+
"maximumWarning": "2kb",
80+
"maximumError": "4kb"
81+
}
82+
],
83+
"outputHashing": "all"
84+
},
85+
"development": {
86+
"buildOptimizer": false,
87+
"optimization": false,
88+
"vendorChunk": true,
89+
"extractLicenses": false,
90+
"sourceMap": true,
91+
"namedChunks": true
92+
}
93+
},
94+
"defaultConfiguration": "production"
95+
},
96+
"serve": {
97+
"builder": "@angular-devkit/build-angular:dev-server",
98+
"configurations": {
99+
"production": {
100+
"browserTarget": "demo_app:build:production"
101+
},
102+
"development": {
103+
"browserTarget": "demo_app:build:development"
104+
}
105+
},
106+
"defaultConfiguration": "development"
107+
},
108+
"extract-i18n": {
109+
"builder": "@angular-devkit/build-angular:extract-i18n",
110+
"options": {
111+
"browserTarget": "demo_app:build"
112+
}
113+
},
114+
"test": {
115+
"builder": "@angular-devkit/build-angular:karma",
116+
"options": {
117+
"polyfills": [
118+
"zone.js",
119+
"zone.js/testing"
120+
],
121+
"tsConfig": "projects/demo_app/tsconfig.spec.json",
122+
"assets": [
123+
"projects/demo_app/src/favicon.ico",
124+
"projects/demo_app/src/assets"
125+
],
126+
"styles": [
127+
"projects/demo_app/src/styles.css"
128+
],
129+
"scripts": []
130+
}
131+
},
132+
"lint": {
133+
"builder": "@angular-eslint/builder:lint",
134+
"options": {
135+
"lintFilePatterns": [
136+
"projects/demo_app/**/*.ts",
137+
"projects/demo_app/**/*.html"
138+
]
139+
}
140+
}
141+
}
42142
}
43143
},
44144
"cli": {

projects/demo_app/.eslintrc.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"extends": "../../.eslintrc.json",
3+
"ignorePatterns": [
4+
"!**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"rules": {
12+
"@angular-eslint/directive-selector": [
13+
"error",
14+
{
15+
"type": "attribute",
16+
"prefix": "app",
17+
"style": "camelCase"
18+
}
19+
],
20+
"@angular-eslint/component-selector": [
21+
"error",
22+
{
23+
"type": "element",
24+
"prefix": "app",
25+
"style": "kebab-case"
26+
}
27+
]
28+
}
29+
},
30+
{
31+
"files": [
32+
"*.html"
33+
],
34+
"rules": {}
35+
}
36+
]
37+
}

projects/demo_app/src/app/app.component.css

Whitespace-only changes.

0 commit comments

Comments
 (0)