1
|
{
|
2
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
3
|
"version": 1,
|
4
|
"newProjectRoot": "projects",
|
5
|
"projects": {
|
6
|
"aggregator": {
|
7
|
"root": "",
|
8
|
"sourceRoot": "src",
|
9
|
"projectType": "application",
|
10
|
"prefix": "app",
|
11
|
"schematics": {
|
12
|
"@schematics/angular:class": {
|
13
|
"skipTests": true
|
14
|
},
|
15
|
"@schematics/angular:component": {
|
16
|
"skipTests": true
|
17
|
},
|
18
|
"@schematics/angular:directive": {
|
19
|
"skipTests": true
|
20
|
},
|
21
|
"@schematics/angular:guard": {
|
22
|
"skipTests": true
|
23
|
},
|
24
|
"@schematics/angular:module": {
|
25
|
"skipTests": true
|
26
|
},
|
27
|
"@schematics/angular:pipe": {
|
28
|
"skipTests": true
|
29
|
},
|
30
|
"@schematics/angular:service": {
|
31
|
"skipTests": true
|
32
|
}
|
33
|
},
|
34
|
"architect": {
|
35
|
"build": {
|
36
|
"builder": "@angular-devkit/build-angular:browser",
|
37
|
"options": {
|
38
|
"aot": true,
|
39
|
"outputPath": "dist/aggregator/browser",
|
40
|
"index": "src/index.html",
|
41
|
"main": "src/main.ts",
|
42
|
"polyfills": "src/polyfills.ts",
|
43
|
"tsConfig": "src/tsconfig.app.json",
|
44
|
"assets": [
|
45
|
"src/assets",
|
46
|
"src/robots.txt"
|
47
|
],
|
48
|
"styles": [
|
49
|
"src/styles.css",
|
50
|
"src/material.scss"
|
51
|
],
|
52
|
"scripts": [
|
53
|
"src/assets/common-assets/common/jquery.js",
|
54
|
"src/assets/common-assets/common/uikit.min.js",
|
55
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
56
|
"node_modules/jquery/dist/jquery.js"
|
57
|
]
|
58
|
},
|
59
|
"configurations": {
|
60
|
"development": {
|
61
|
"optimization": true,
|
62
|
"outputHashing": "all",
|
63
|
"sourceMap": false,
|
64
|
"namedChunks": false,
|
65
|
"aot": true,
|
66
|
"extractLicenses": true,
|
67
|
"vendorChunk": false,
|
68
|
"buildOptimizer": true,
|
69
|
"budgets": [
|
70
|
{
|
71
|
"type": "initial",
|
72
|
"maximumWarning": "2mb",
|
73
|
"maximumError": "5mb"
|
74
|
},
|
75
|
{
|
76
|
"type": "anyComponentStyle",
|
77
|
"maximumWarning": "6kb"
|
78
|
}
|
79
|
]
|
80
|
},
|
81
|
"beta": {
|
82
|
"assets": [
|
83
|
"src/assets",
|
84
|
{
|
85
|
"input": "src/beta/",
|
86
|
"output": "/",
|
87
|
"glob": "*.txt"
|
88
|
}
|
89
|
],
|
90
|
"index": {
|
91
|
"input": "src/beta/index.html",
|
92
|
"output": "index.html"
|
93
|
},
|
94
|
"fileReplacements": [
|
95
|
{
|
96
|
"replace": "src/environments/environment.ts",
|
97
|
"with": "src/environments/environment.beta.ts"
|
98
|
}
|
99
|
],
|
100
|
"optimization": true,
|
101
|
"outputHashing": "all",
|
102
|
"sourceMap": false,
|
103
|
"namedChunks": false,
|
104
|
"aot": true,
|
105
|
"extractLicenses": true,
|
106
|
"vendorChunk": false,
|
107
|
"buildOptimizer": true,
|
108
|
"budgets": [
|
109
|
{
|
110
|
"type": "initial",
|
111
|
"maximumWarning": "2mb",
|
112
|
"maximumError": "5mb"
|
113
|
},
|
114
|
{
|
115
|
"type": "anyComponentStyle",
|
116
|
"maximumWarning": "6kb"
|
117
|
}
|
118
|
]
|
119
|
},
|
120
|
"production": {
|
121
|
"assets": [
|
122
|
"src/assets",
|
123
|
{
|
124
|
"input": "src/prod/",
|
125
|
"output": "/",
|
126
|
"glob": "*.txt"
|
127
|
}
|
128
|
],
|
129
|
"index": {
|
130
|
"input": "src/prod/index.html",
|
131
|
"output": "index.html"
|
132
|
},
|
133
|
"fileReplacements": [
|
134
|
{
|
135
|
"replace": "src/environments/environment.ts",
|
136
|
"with": "src/environments/environment.prod.ts"
|
137
|
}
|
138
|
],
|
139
|
"optimization": true,
|
140
|
"outputHashing": "all",
|
141
|
"sourceMap": false,
|
142
|
"namedChunks": false,
|
143
|
"aot": true,
|
144
|
"extractLicenses": true,
|
145
|
"vendorChunk": false,
|
146
|
"buildOptimizer": true,
|
147
|
"budgets": [
|
148
|
{
|
149
|
"type": "initial",
|
150
|
"maximumWarning": "2mb",
|
151
|
"maximumError": "5mb"
|
152
|
},
|
153
|
{
|
154
|
"type": "anyComponentStyle",
|
155
|
"maximumWarning": "6kb"
|
156
|
}
|
157
|
]
|
158
|
}
|
159
|
}
|
160
|
},
|
161
|
"serve": {
|
162
|
"builder": "@angular-devkit/build-angular:dev-server",
|
163
|
"options": {
|
164
|
"browserTarget": "aggregator:build"
|
165
|
},
|
166
|
"configurations": {
|
167
|
"production": {
|
168
|
"browserTarget": "aggregator:build:production"
|
169
|
}
|
170
|
}
|
171
|
},
|
172
|
"extract-i18n": {
|
173
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
174
|
"options": {
|
175
|
"browserTarget": "aggregator:build"
|
176
|
}
|
177
|
},
|
178
|
"test": {
|
179
|
"builder": "@angular-devkit/build-angular:karma",
|
180
|
"options": {
|
181
|
"main": "src/test.ts",
|
182
|
"polyfills": "src/polyfills.ts",
|
183
|
"tsConfig": "src/tsconfig.spec.json",
|
184
|
"karmaConfig": "src/karma.conf.js",
|
185
|
"styles": [
|
186
|
"src/styles.css"
|
187
|
],
|
188
|
"scripts": [],
|
189
|
"assets": [
|
190
|
"src/assets"
|
191
|
]
|
192
|
}
|
193
|
},
|
194
|
"lint": {
|
195
|
"builder": "@angular-devkit/build-angular:tslint",
|
196
|
"options": {
|
197
|
"tsConfig": [
|
198
|
"src/tsconfig.app.json",
|
199
|
"src/tsconfig.spec.json"
|
200
|
],
|
201
|
"exclude": [
|
202
|
"**/node_modules/**"
|
203
|
]
|
204
|
}
|
205
|
},
|
206
|
"server": {
|
207
|
"builder": "@angular-devkit/build-angular:server",
|
208
|
"options": {
|
209
|
"outputPath": "dist/aggregator/server",
|
210
|
"main": "server.ts",
|
211
|
"tsConfig": "src/tsconfig.server.json"
|
212
|
},
|
213
|
"configurations": {
|
214
|
"development": {
|
215
|
"outputHashing": "media",
|
216
|
"sourceMap": false,
|
217
|
"optimization": true
|
218
|
},
|
219
|
"beta": {
|
220
|
"outputHashing": "media",
|
221
|
"fileReplacements": [
|
222
|
{
|
223
|
"replace": "src/environments/environment.ts",
|
224
|
"with": "src/environments/environment.beta.ts"
|
225
|
}
|
226
|
],
|
227
|
"sourceMap": false,
|
228
|
"optimization": true
|
229
|
},
|
230
|
"production": {
|
231
|
"outputHashing": "media",
|
232
|
"fileReplacements": [
|
233
|
{
|
234
|
"replace": "src/environments/environment.ts",
|
235
|
"with": "src/environments/environment.prod.ts"
|
236
|
}
|
237
|
],
|
238
|
"sourceMap": false,
|
239
|
"optimization": true
|
240
|
}
|
241
|
}
|
242
|
},
|
243
|
"serve-ssr": {
|
244
|
"builder": "@nguniversal/builders:ssr-dev-server",
|
245
|
"options": {
|
246
|
"browserTarget": "aggregator:build",
|
247
|
"serverTarget": "aggregator:server"
|
248
|
},
|
249
|
"configurations": {
|
250
|
"production": {
|
251
|
"browserTarget": "aggregator:build:production",
|
252
|
"serverTarget": "aggregator:server:production"
|
253
|
}
|
254
|
}
|
255
|
},
|
256
|
"prerender": {
|
257
|
"builder": "@nguniversal/builders:prerender",
|
258
|
"options": {
|
259
|
"browserTarget": "aggregator:build:production",
|
260
|
"serverTarget": "aggregator:server:production",
|
261
|
"routes": [
|
262
|
"/"
|
263
|
]
|
264
|
},
|
265
|
"configurations": {
|
266
|
"production": {}
|
267
|
}
|
268
|
}
|
269
|
}
|
270
|
},
|
271
|
"aggregator-e2e": {
|
272
|
"root": "e2e/",
|
273
|
"projectType": "application",
|
274
|
"prefix": "",
|
275
|
"architect": {
|
276
|
"e2e": {
|
277
|
"builder": "@angular-devkit/build-angular:protractor",
|
278
|
"options": {
|
279
|
"protractorConfig": "e2e/protractor.conf.js",
|
280
|
"devServerTarget": "aggregator:serve"
|
281
|
},
|
282
|
"configurations": {
|
283
|
"production": {
|
284
|
"devServerTarget": "aggregator:serve:production"
|
285
|
}
|
286
|
}
|
287
|
},
|
288
|
"lint": {
|
289
|
"builder": "@angular-devkit/build-angular:tslint",
|
290
|
"options": {
|
291
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
292
|
"exclude": [
|
293
|
"**/node_modules/**"
|
294
|
]
|
295
|
}
|
296
|
}
|
297
|
}
|
298
|
}
|
299
|
},
|
300
|
"defaultProject": "aggregator"
|
301
|
}
|