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
|
}
|
51
|
}
|
52
|
},
|
53
|
"serve": {
|
54
|
"builder": "@angular-devkit/build-angular:dev-server",
|
55
|
"options": {
|
56
|
"browserTarget": "ng-universal-demo:build"
|
57
|
},
|
58
|
"configurations": {
|
59
|
"production": {
|
60
|
"browserTarget": "ng-universal-demo:build:production"
|
61
|
}
|
62
|
}
|
63
|
},
|
64
|
"extract-i18n": {
|
65
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
66
|
"options": {
|
67
|
"browserTarget": "ng-universal-demo:build"
|
68
|
}
|
69
|
},
|
70
|
"test": {
|
71
|
"builder": "@angular-devkit/build-angular:karma",
|
72
|
"options": {
|
73
|
"main": "src/test.ts",
|
74
|
"karmaConfig": "./karma.conf.js",
|
75
|
"polyfills": "src/polyfills.ts",
|
76
|
"tsConfig": "src/tsconfig.spec.json",
|
77
|
"scripts": [
|
78
|
"node_modules/jquery/dist/jquery.js",
|
79
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
80
|
],
|
81
|
"styles": [
|
82
|
"src/styles.css",
|
83
|
"src/material.scss",
|
84
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
85
|
],
|
86
|
"assets": [
|
87
|
"src/assets",
|
88
|
"src/robots.txt"
|
89
|
]
|
90
|
}
|
91
|
},
|
92
|
"lint": {
|
93
|
"builder": "@angular-devkit/build-angular:tslint",
|
94
|
"options": {
|
95
|
"tsConfig": [
|
96
|
"src/tsconfig.app.json",
|
97
|
"src/tsconfig.spec.json"
|
98
|
],
|
99
|
"exclude": [
|
100
|
"**/node_modules/**"
|
101
|
]
|
102
|
}
|
103
|
},
|
104
|
"server": {
|
105
|
"builder": "@angular-devkit/build-angular:server",
|
106
|
"options": {
|
107
|
"outputPath": "dist/server",
|
108
|
"main": "src/main.server.ts",
|
109
|
"tsConfig": "src/tsconfig.server.json"
|
110
|
},
|
111
|
"configurations": {
|
112
|
"production": {
|
113
|
"fileReplacements": [
|
114
|
{
|
115
|
"replace": "src/environments/environment.ts",
|
116
|
"with": "src/environments/environment.prod.ts"
|
117
|
}
|
118
|
]
|
119
|
}
|
120
|
}
|
121
|
}
|
122
|
}
|
123
|
},
|
124
|
"ng-universal-demo-e2e": {
|
125
|
"root": "e2e",
|
126
|
"sourceRoot": "e2e",
|
127
|
"projectType": "application",
|
128
|
"architect": {
|
129
|
"e2e": {
|
130
|
"builder": "@angular-devkit/build-angular:protractor",
|
131
|
"options": {
|
132
|
"protractorConfig": "./protractor.conf.js",
|
133
|
"devServerTarget": "ng-universal-demo:serve"
|
134
|
}
|
135
|
},
|
136
|
"lint": {
|
137
|
"builder": "@angular-devkit/build-angular:tslint",
|
138
|
"options": {
|
139
|
"tsConfig": [
|
140
|
"e2e/tsconfig.e2e.json"
|
141
|
],
|
142
|
"exclude": [
|
143
|
"**/node_modules/**"
|
144
|
]
|
145
|
}
|
146
|
}
|
147
|
}
|
148
|
}
|
149
|
},
|
150
|
"defaultProject": "ng-universal-demo",
|
151
|
"schematics": {
|
152
|
"@schematics/angular:class": {
|
153
|
"spec": false
|
154
|
},
|
155
|
"@schematics/angular:component": {
|
156
|
"spec": false,
|
157
|
"inlineStyle": true,
|
158
|
"inlineTemplate": true,
|
159
|
"prefix": "app",
|
160
|
"styleext": "css"
|
161
|
},
|
162
|
"@schematics/angular:directive": {
|
163
|
"spec": false,
|
164
|
"prefix": "app"
|
165
|
},
|
166
|
"@schematics/angular:guard": {
|
167
|
"spec": false
|
168
|
},
|
169
|
"@schematics/angular:module": {
|
170
|
"spec": false
|
171
|
},
|
172
|
"@schematics/angular:pipe": {
|
173
|
"spec": false
|
174
|
},
|
175
|
"@schematics/angular:service": {
|
176
|
"spec": false
|
177
|
}
|
178
|
}
|
179
|
}
|