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