|
a |
|
b/frontend/angular.json |
|
|
1 |
{ |
|
|
2 |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
|
|
3 |
"version": 1, |
|
|
4 |
"newProjectRoot": "projects", |
|
|
5 |
"projects": { |
|
|
6 |
"frontend": { |
|
|
7 |
"projectType": "application", |
|
|
8 |
"schematics": { |
|
|
9 |
"@schematics/angular:component": { |
|
|
10 |
"style": "scss" |
|
|
11 |
} |
|
|
12 |
}, |
|
|
13 |
"root": "", |
|
|
14 |
"sourceRoot": "src", |
|
|
15 |
"prefix": "app", |
|
|
16 |
"architect": { |
|
|
17 |
"build": { |
|
|
18 |
"builder": "@angular-devkit/build-angular:browser", |
|
|
19 |
"options": { |
|
|
20 |
"outputPath": "dist/frontend", |
|
|
21 |
"index": "src/index.html", |
|
|
22 |
"main": "src/main.ts", |
|
|
23 |
"polyfills": [ |
|
|
24 |
"zone.js" |
|
|
25 |
], |
|
|
26 |
"tsConfig": "tsconfig.app.json", |
|
|
27 |
"inlineStyleLanguage": "scss", |
|
|
28 |
"assets": [ |
|
|
29 |
"src/favicon.ico", |
|
|
30 |
"src/assets" |
|
|
31 |
], |
|
|
32 |
"styles": [ |
|
|
33 |
"src/styles.scss" |
|
|
34 |
], |
|
|
35 |
"scripts": [] |
|
|
36 |
}, |
|
|
37 |
"configurations": { |
|
|
38 |
"production": { |
|
|
39 |
"budgets": [ |
|
|
40 |
{ |
|
|
41 |
"type": "initial", |
|
|
42 |
"maximumWarning": "500kb", |
|
|
43 |
"maximumError": "1mb" |
|
|
44 |
}, |
|
|
45 |
{ |
|
|
46 |
"type": "anyComponentStyle", |
|
|
47 |
"maximumWarning": "2kb", |
|
|
48 |
"maximumError": "4kb" |
|
|
49 |
} |
|
|
50 |
], |
|
|
51 |
"outputHashing": "all" |
|
|
52 |
}, |
|
|
53 |
"development": { |
|
|
54 |
"buildOptimizer": false, |
|
|
55 |
"optimization": false, |
|
|
56 |
"vendorChunk": true, |
|
|
57 |
"extractLicenses": false, |
|
|
58 |
"sourceMap": true, |
|
|
59 |
"namedChunks": true |
|
|
60 |
} |
|
|
61 |
}, |
|
|
62 |
"defaultConfiguration": "production" |
|
|
63 |
}, |
|
|
64 |
"serve": { |
|
|
65 |
"builder": "@angular-devkit/build-angular:dev-server", |
|
|
66 |
"configurations": { |
|
|
67 |
"production": { |
|
|
68 |
"browserTarget": "frontend:build:production" |
|
|
69 |
}, |
|
|
70 |
"development": { |
|
|
71 |
"browserTarget": "frontend:build:development" |
|
|
72 |
} |
|
|
73 |
}, |
|
|
74 |
"defaultConfiguration": "development" |
|
|
75 |
}, |
|
|
76 |
"extract-i18n": { |
|
|
77 |
"builder": "@angular-devkit/build-angular:extract-i18n", |
|
|
78 |
"options": { |
|
|
79 |
"browserTarget": "frontend:build" |
|
|
80 |
} |
|
|
81 |
}, |
|
|
82 |
"test": { |
|
|
83 |
"builder": "@angular-devkit/build-angular:karma", |
|
|
84 |
"options": { |
|
|
85 |
"polyfills": [ |
|
|
86 |
"zone.js", |
|
|
87 |
"zone.js/testing" |
|
|
88 |
], |
|
|
89 |
"tsConfig": "tsconfig.spec.json", |
|
|
90 |
"inlineStyleLanguage": "scss", |
|
|
91 |
"assets": [ |
|
|
92 |
"src/favicon.ico", |
|
|
93 |
"src/assets" |
|
|
94 |
], |
|
|
95 |
"styles": [ |
|
|
96 |
"src/styles.scss" |
|
|
97 |
], |
|
|
98 |
"scripts": [] |
|
|
99 |
} |
|
|
100 |
}, |
|
|
101 |
"lint": { |
|
|
102 |
"builder": "@angular-eslint/builder:lint", |
|
|
103 |
"options": { |
|
|
104 |
"lintFilePatterns": [ |
|
|
105 |
"src/**/*.ts", |
|
|
106 |
"src/**/*.html" |
|
|
107 |
] |
|
|
108 |
} |
|
|
109 |
} |
|
|
110 |
} |
|
|
111 |
} |
|
|
112 |
}, |
|
|
113 |
"cli": { |
|
|
114 |
"schematicCollections": [ |
|
|
115 |
"@angular-eslint/schematics" |
|
|
116 |
] |
|
|
117 |
} |
|
|
118 |
} |