1
+ {
2
+ "$schema" : " ./node_modules/@angular/cli/lib/config/schema.json" ,
3
+ "version" : 1 ,
4
+ "newProjectRoot" : " projects" ,
5
+ "projects" : {
6
+ "my-app" : {
7
+ "root" : " " ,
8
+ "sourceRoot" : " src" ,
9
+ "projectType" : " application" ,
10
+ "prefix" : " app" ,
11
+ "schematics" : {
12
+ "@schematics/angular:component" : {
13
+ "style" : " scss"
14
+ }
15
+ },
16
+ "architect" : {
17
+ "build" : {
18
+ "builder" : " @angular-devkit/build-angular:browser" ,
19
+ "options" : {
20
+ "outputPath" : " dist/my-app" ,
21
+ "index" : " src/index.html" ,
22
+ "main" : " src/main.ts" ,
23
+ "polyfills" : " src/polyfills.ts" ,
24
+ "tsConfig" : " src/tsconfig.app.json" ,
25
+ "assets" : [
26
+ " src/favicon.ico" ,
27
+ " src/assets"
28
+ ],
29
+ "styles" : [
30
+ " src/styles.scss"
31
+ ],
32
+ "scripts" : [],
33
+ "es5BrowserSupport" : true
34
+ },
35
+ "configurations" : {
36
+ "production" : {
37
+ "fileReplacements" : [
38
+ {
39
+ "replace" : " src/environments/environment.ts" ,
40
+ "with" : " src/environments/environment.prod.ts"
41
+ }
42
+ ],
43
+ "optimization" : true ,
44
+ "outputHashing" : " all" ,
45
+ "sourceMap" : false ,
46
+ "extractCss" : true ,
47
+ "namedChunks" : false ,
48
+ "aot" : true ,
49
+ "extractLicenses" : true ,
50
+ "vendorChunk" : false ,
51
+ "buildOptimizer" : true ,
52
+ "budgets" : [
53
+ {
54
+ "type" : " initial" ,
55
+ "maximumWarning" : " 2mb" ,
56
+ "maximumError" : " 5mb"
57
+ }
58
+ ]
59
+ }
60
+ }
61
+ },
62
+ "serve" : {
63
+ "builder" : " @angular-devkit/build-angular:dev-server" ,
64
+ "options" : {
65
+ "browserTarget" : " my-app:build"
66
+ },
67
+ "configurations" : {
68
+ "production" : {
69
+ "browserTarget" : " my-app:build:production"
70
+ }
71
+ }
72
+ },
73
+ "extract-i18n" : {
74
+ "builder" : " @angular-devkit/build-angular:extract-i18n" ,
75
+ "options" : {
76
+ "browserTarget" : " my-app:build"
77
+ }
78
+ },
79
+ "test" : {
80
+ "builder" : " @angular-devkit/build-angular:karma" ,
81
+ "options" : {
82
+ "main" : " src/test.ts" ,
83
+ "polyfills" : " src/polyfills.ts" ,
84
+ "tsConfig" : " src/tsconfig.spec.json" ,
85
+ "karmaConfig" : " src/karma.conf.js" ,
86
+ "styles" : [
87
+ " src/styles.scss"
88
+ ],
89
+ "scripts" : [],
90
+ "assets" : [
91
+ " src/favicon.ico" ,
92
+ " src/assets"
93
+ ]
94
+ }
95
+ },
96
+ "lint" : {
97
+ "builder" : " @angular-devkit/build-angular:tslint" ,
98
+ "options" : {
99
+ "tsConfig" : [
100
+ " src/tsconfig.app.json" ,
101
+ " src/tsconfig.spec.json"
102
+ ],
103
+ "exclude" : [
104
+ " **/node_modules/**"
105
+ ]
106
+ }
107
+ }
108
+ }
109
+ },
110
+ "my-app-e2e" : {
111
+ "root" : " e2e/" ,
112
+ "projectType" : " application" ,
113
+ "prefix" : " " ,
114
+ "architect" : {
115
+ "e2e" : {
116
+ "builder" : " @angular-devkit/build-angular:protractor" ,
117
+ "options" : {
118
+ "protractorConfig" : " e2e/protractor.conf.js" ,
119
+ "devServerTarget" : " my-app:serve"
120
+ },
121
+ "configurations" : {
122
+ "production" : {
123
+ "devServerTarget" : " my-app:serve:production"
124
+ }
125
+ }
126
+ },
127
+ "lint" : {
128
+ "builder" : " @angular-devkit/build-angular:tslint" ,
129
+ "options" : {
130
+ "tsConfig" : " e2e/tsconfig.e2e.json" ,
131
+ "exclude" : [
132
+ " **/node_modules/**"
133
+ ]
134
+ }
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "defaultProject" : " my-app"
140
+ }
0 commit comments