8
8
"schematics" : {
9
9
"@schematics/angular:component" : {
10
10
"style" : " scss"
11
- },
12
- "@schematics/angular:application" : {
13
- "strict" : true
14
11
}
15
12
},
16
13
"root" : " " ,
17
14
"sourceRoot" : " src" ,
18
15
"prefix" : " app" ,
19
16
"architect" : {
20
17
"build" : {
21
- "builder" : " @angular-devkit/build-angular:browser " ,
18
+ "builder" : " @angular-devkit/build-angular:application " ,
22
19
"options" : {
23
20
"outputPath" : " dist" ,
24
21
"index" : " src/index.html" ,
25
- "main" : " src/main.ts" ,
26
- "polyfills" : " src/polyfills.ts" ,
22
+ "browser" : " src/main.ts" ,
23
+ "polyfills" : [
24
+ " zone.js"
25
+ ],
27
26
"tsConfig" : " tsconfig.app.json" ,
28
27
"inlineStyleLanguage" : " scss" ,
29
28
"assets" : [
49
48
"maximumError" : " 4kb"
50
49
}
51
50
],
52
- "fileReplacements" : [
53
- {
54
- "replace" : " src/environments/environment.ts" ,
55
- "with" : " src/environments/environment.prod.ts"
56
- }
57
- ],
58
51
"outputHashing" : " all"
59
52
},
60
53
"development" : {
61
- "buildOptimizer" : false ,
62
54
"optimization" : false ,
63
- "vendorChunk" : true ,
64
55
"extractLicenses" : false ,
65
- "sourceMap" : true ,
66
- "namedChunks" : true
56
+ "sourceMap" : true
67
57
}
68
58
},
69
59
"defaultConfiguration" : " production"
72
62
"builder" : " @angular-devkit/build-angular:dev-server" ,
73
63
"configurations" : {
74
64
"production" : {
75
- "browserTarget " : " ngx-img-fallback:build:production"
65
+ "buildTarget " : " ngx-img-fallback:build:production"
76
66
},
77
67
"development" : {
78
- "browserTarget " : " ngx-img-fallback:build:development"
68
+ "buildTarget " : " ngx-img-fallback:build:development"
79
69
}
80
70
},
81
71
"defaultConfiguration" : " development"
82
72
},
83
73
"extract-i18n" : {
84
74
"builder" : " @angular-devkit/build-angular:extract-i18n" ,
85
75
"options" : {
86
- "browserTarget " : " ngx-img-fallback:build"
76
+ "buildTarget " : " ngx-img-fallback:build"
87
77
}
88
78
},
89
79
"test" : {
90
80
"builder" : " @angular-devkit/build-angular:karma" ,
91
81
"options" : {
92
- "main" : " src/test.ts" ,
93
- "polyfills" : " src/polyfills.ts" ,
82
+ "polyfills" : [
83
+ " zone.js" ,
84
+ " zone.js/testing"
85
+ ],
94
86
"tsConfig" : " tsconfig.spec.json" ,
95
- "karmaConfig" : " karma.conf.js" ,
96
87
"inlineStyleLanguage" : " scss" ,
97
88
"assets" : [
98
89
" src/favicon.ico" ,
104
95
"scripts" : []
105
96
}
106
97
},
107
- "e2e " : {
98
+ "cypress-run " : {
108
99
"builder" : " @cypress/schematic:cypress" ,
109
100
"options" : {
110
- "devServerTarget" : " ngx-img-fallback:serve" ,
111
- "watch" : true ,
112
- "headless" : false
101
+ "devServerTarget" : " ngx-img-fallback:serve"
113
102
},
114
103
"configurations" : {
115
104
"production" : {
116
105
"devServerTarget" : " ngx-img-fallback:serve:production"
117
106
}
118
107
}
119
108
},
120
- "cypress-run " : {
109
+ "cypress-open " : {
121
110
"builder" : " @cypress/schematic:cypress" ,
122
111
"options" : {
123
- "devServerTarget" : " ngx-img-fallback:serve"
124
- },
125
- "configurations" : {
126
- "production" : {
127
- "devServerTarget" : " ngx-img-fallback:serve:production"
128
- }
112
+ "watch" : true ,
113
+ "headless" : false
129
114
}
130
115
},
131
- "cypress-open " : {
116
+ "e2e " : {
132
117
"builder" : " @cypress/schematic:cypress" ,
133
118
"options" : {
119
+ "devServerTarget" : " ngx-img-fallback:serve" ,
134
120
"watch" : true ,
135
121
"headless" : false
122
+ },
123
+ "configurations" : {
124
+ "production" : {
125
+ "devServerTarget" : " ngx-img-fallback:serve:production"
126
+ }
136
127
}
137
128
}
138
129
}
139
130
}
140
- },
141
- "defaultProject" : " ngx-img-fallback"
131
+ }
142
132
}
0 commit comments