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