1
|
{
|
2
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
3
|
"version": 1,
|
4
|
"newProjectRoot": "projects",
|
5
|
"projects": {
|
6
|
"explore": {
|
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/explore/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
|
"src/OpenSearchDescriptor.xml",
|
48
|
{
|
49
|
"glob": "**/*",
|
50
|
"input": "src/sitemaps",
|
51
|
"output": "/"
|
52
|
}
|
53
|
],
|
54
|
"styles": [
|
55
|
"src/styles.css",
|
56
|
"src/material.scss"
|
57
|
],
|
58
|
"scripts": [
|
59
|
"src/assets/common-assets/common/jquery.js",
|
60
|
"src/assets/common-assets/common/uikit.min.js",
|
61
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
62
|
"node_modules/jquery/dist/jquery.js"
|
63
|
]
|
64
|
},
|
65
|
"configurations": {
|
66
|
"development": {
|
67
|
"optimization": true,
|
68
|
"outputHashing": "all",
|
69
|
"sourceMap": false,
|
70
|
"namedChunks": false,
|
71
|
"aot": true,
|
72
|
"extractLicenses": true,
|
73
|
"vendorChunk": false,
|
74
|
"buildOptimizer": true,
|
75
|
"budgets": [
|
76
|
{
|
77
|
"type": "initial",
|
78
|
"maximumWarning": "2mb",
|
79
|
"maximumError": "5mb"
|
80
|
},
|
81
|
{
|
82
|
"type": "anyComponentStyle",
|
83
|
"maximumWarning": "6kb"
|
84
|
}
|
85
|
]
|
86
|
},
|
87
|
"test": {
|
88
|
"fileReplacements": [
|
89
|
{
|
90
|
"replace": "src/environments/environment.ts",
|
91
|
"with": "src/environments/environment.test.ts"
|
92
|
}
|
93
|
],
|
94
|
"optimization": true,
|
95
|
"outputHashing": "all",
|
96
|
"sourceMap": false,
|
97
|
"namedChunks": false,
|
98
|
"aot": true,
|
99
|
"extractLicenses": true,
|
100
|
"vendorChunk": false,
|
101
|
"buildOptimizer": true,
|
102
|
"budgets": [
|
103
|
{
|
104
|
"type": "initial",
|
105
|
"maximumWarning": "2mb",
|
106
|
"maximumError": "5mb"
|
107
|
},
|
108
|
{
|
109
|
"type": "anyComponentStyle",
|
110
|
"maximumWarning": "6kb"
|
111
|
}
|
112
|
]
|
113
|
},
|
114
|
"beta": {
|
115
|
"assets": [
|
116
|
"src/assets",
|
117
|
{
|
118
|
"input": "src/beta/",
|
119
|
"output": "/",
|
120
|
"glob": "*.txt"
|
121
|
},
|
122
|
"src/OpenSearchDescriptor.xml",
|
123
|
{
|
124
|
"glob": "**/*",
|
125
|
"input": "src/sitemaps",
|
126
|
"output": "/"
|
127
|
}
|
128
|
],
|
129
|
"index": {
|
130
|
"input": "src/beta/index.html",
|
131
|
"output": "index.html"
|
132
|
},
|
133
|
"fileReplacements": [
|
134
|
{
|
135
|
"replace": "src/environments/environment.ts",
|
136
|
"with": "src/environments/environment.beta.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
|
"production": {
|
160
|
"assets": [
|
161
|
"src/assets",
|
162
|
{
|
163
|
"input": "src/prod/",
|
164
|
"output": "/",
|
165
|
"glob": "*.txt"
|
166
|
},
|
167
|
"src/OpenSearchDescriptor.xml",
|
168
|
{
|
169
|
"glob": "**/*",
|
170
|
"input": "src/sitemaps",
|
171
|
"output": "/"
|
172
|
}
|
173
|
],
|
174
|
"index": {
|
175
|
"input": "src/prod/index.html",
|
176
|
"output": "index.html"
|
177
|
},
|
178
|
"fileReplacements": [
|
179
|
{
|
180
|
"replace": "src/environments/environment.ts",
|
181
|
"with": "src/environments/environment.prod.ts"
|
182
|
}
|
183
|
],
|
184
|
"optimization": true,
|
185
|
"outputHashing": "all",
|
186
|
"sourceMap": false,
|
187
|
"namedChunks": false,
|
188
|
"aot": true,
|
189
|
"extractLicenses": true,
|
190
|
"vendorChunk": false,
|
191
|
"buildOptimizer": true,
|
192
|
"budgets": [
|
193
|
{
|
194
|
"type": "initial",
|
195
|
"maximumWarning": "2mb",
|
196
|
"maximumError": "5mb"
|
197
|
},
|
198
|
{
|
199
|
"type": "anyComponentStyle",
|
200
|
"maximumWarning": "6kb"
|
201
|
}
|
202
|
]
|
203
|
}
|
204
|
}
|
205
|
},
|
206
|
"serve": {
|
207
|
"builder": "@angular-devkit/build-angular:dev-server",
|
208
|
"options": {
|
209
|
"browserTarget": "explore:build"
|
210
|
},
|
211
|
"configurations": {
|
212
|
"production": {
|
213
|
"browserTarget": "explore:build:production"
|
214
|
}
|
215
|
}
|
216
|
},
|
217
|
"extract-i18n": {
|
218
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
219
|
"options": {
|
220
|
"browserTarget": "explore:build"
|
221
|
}
|
222
|
},
|
223
|
"test": {
|
224
|
"builder": "@angular-devkit/build-angular:karma",
|
225
|
"options": {
|
226
|
"main": "src/test.ts",
|
227
|
"polyfills": "src/polyfills.ts",
|
228
|
"tsConfig": "src/tsconfig.spec.json",
|
229
|
"karmaConfig": "src/karma.conf.js",
|
230
|
"styles": [
|
231
|
"src/styles.css"
|
232
|
],
|
233
|
"scripts": [],
|
234
|
"assets": [
|
235
|
"src/assets"
|
236
|
]
|
237
|
}
|
238
|
},
|
239
|
"lint": {
|
240
|
"builder": "@angular-devkit/build-angular:tslint",
|
241
|
"options": {
|
242
|
"tsConfig": [
|
243
|
"src/tsconfig.app.json",
|
244
|
"src/tsconfig.spec.json"
|
245
|
],
|
246
|
"exclude": [
|
247
|
"**/node_modules/**"
|
248
|
]
|
249
|
}
|
250
|
},
|
251
|
"server": {
|
252
|
"builder": "@angular-devkit/build-angular:server",
|
253
|
"options": {
|
254
|
"outputPath": "dist/explore/server",
|
255
|
"main": "server.ts",
|
256
|
"tsConfig": "src/tsconfig.server.json"
|
257
|
},
|
258
|
"configurations": {
|
259
|
"development": {
|
260
|
"outputHashing": "media",
|
261
|
"sourceMap": false,
|
262
|
"optimization": true
|
263
|
},
|
264
|
"test": {
|
265
|
"outputHashing": "media",
|
266
|
"fileReplacements": [
|
267
|
{
|
268
|
"replace": "src/environments/environment.ts",
|
269
|
"with": "src/environments/environment.test.ts"
|
270
|
}
|
271
|
],
|
272
|
"sourceMap": false,
|
273
|
"optimization": true
|
274
|
},
|
275
|
"beta": {
|
276
|
"outputHashing": "media",
|
277
|
"fileReplacements": [
|
278
|
{
|
279
|
"replace": "src/environments/environment.ts",
|
280
|
"with": "src/environments/environment.beta.ts"
|
281
|
}
|
282
|
],
|
283
|
"sourceMap": false,
|
284
|
"optimization": true
|
285
|
},
|
286
|
"production": {
|
287
|
"outputHashing": "media",
|
288
|
"fileReplacements": [
|
289
|
{
|
290
|
"replace": "src/environments/environment.ts",
|
291
|
"with": "src/environments/environment.prod.ts"
|
292
|
}
|
293
|
],
|
294
|
"sourceMap": false,
|
295
|
"optimization": true
|
296
|
}
|
297
|
}
|
298
|
},
|
299
|
"serve-ssr": {
|
300
|
"builder": "@nguniversal/builders:ssr-dev-server",
|
301
|
"options": {
|
302
|
"browserTarget": "explore:build",
|
303
|
"serverTarget": "explore:server"
|
304
|
},
|
305
|
"configurations": {
|
306
|
"production": {
|
307
|
"browserTarget": "explore:build:production",
|
308
|
"serverTarget": "explore:server:production"
|
309
|
}
|
310
|
}
|
311
|
},
|
312
|
"prerender": {
|
313
|
"builder": "@nguniversal/builders:prerender",
|
314
|
"options": {
|
315
|
"browserTarget": "explore:build:production",
|
316
|
"serverTarget": "explore:server:production",
|
317
|
"routes": [
|
318
|
"/"
|
319
|
]
|
320
|
},
|
321
|
"configurations": {
|
322
|
"production": {}
|
323
|
}
|
324
|
}
|
325
|
}
|
326
|
},
|
327
|
"explore-e2e": {
|
328
|
"root": "e2e/",
|
329
|
"projectType": "application",
|
330
|
"prefix": "",
|
331
|
"architect": {
|
332
|
"e2e": {
|
333
|
"builder": "@angular-devkit/build-angular:protractor",
|
334
|
"options": {
|
335
|
"protractorConfig": "e2e/protractor.conf.js",
|
336
|
"devServerTarget": "explore:serve"
|
337
|
},
|
338
|
"configurations": {
|
339
|
"production": {
|
340
|
"devServerTarget": "explore:serve:production"
|
341
|
}
|
342
|
}
|
343
|
},
|
344
|
"lint": {
|
345
|
"builder": "@angular-devkit/build-angular:tslint",
|
346
|
"options": {
|
347
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
348
|
"exclude": [
|
349
|
"**/node_modules/**"
|
350
|
]
|
351
|
}
|
352
|
}
|
353
|
}
|
354
|
}
|
355
|
},
|
356
|
"defaultProject": "explore"
|
357
|
}
|