1717 "build" : {
1818 "builder" : " @angular-devkit/build-angular:browser" ,
1919 "options" : {
20- "aot" : true ,
2120 "outputPath" : " dist/angular-token-app" ,
2221 "index" : " src/index.html" ,
2322 "main" : " src/main.ts" ,
2423 "polyfills" : " src/polyfills.ts" ,
25- "tsConfig" : " src/tsconfig.app.json" ,
24+ "tsConfig" : " tsconfig.app.json" ,
25+ "inlineStyleLanguage" : " scss" ,
2626 "assets" : [
2727 " src/favicon.ico" ,
2828 " src/assets"
3535 },
3636 "configurations" : {
3737 "production" : {
38- "fileReplacements" : [
39- {
40- "replace" : " src/environments/environment.ts" ,
41- "with" : " src/environments/environment.prod.ts"
42- }
43- ],
44- "optimization" : true ,
45- "outputHashing" : " all" ,
46- "sourceMap" : false ,
47- "extractCss" : true ,
48- "namedChunks" : false ,
49- "aot" : true ,
50- "extractLicenses" : true ,
51- "vendorChunk" : false ,
52- "buildOptimizer" : true ,
5338 "budgets" : [
5439 {
5540 "type" : " initial" ,
56- "maximumWarning" : " 2mb " ,
57- "maximumError" : " 5mb "
41+ "maximumWarning" : " 500kb " ,
42+ "maximumError" : " 1mb "
5843 },
5944 {
6045 "type" : " anyComponentStyle" ,
61- "maximumWarning" : " 6kb"
46+ "maximumWarning" : " 2kb" ,
47+ "maximumError" : " 4kb"
6248 }
63- ]
49+ ],
50+ "fileReplacements" : [
51+ {
52+ "replace" : " src/environments/environment.ts" ,
53+ "with" : " src/environments/environment.prod.ts"
54+ }
55+ ],
56+ "outputHashing" : " all"
57+ },
58+ "development" : {
59+ "buildOptimizer" : false ,
60+ "optimization" : false ,
61+ "vendorChunk" : true ,
62+ "extractLicenses" : false ,
63+ "sourceMap" : true ,
64+ "namedChunks" : true
6465 }
65- }
66+ },
67+ "defaultConfiguration" : " production"
6668 },
6769 "serve" : {
6870 "builder" : " @angular-devkit/build-angular:dev-server" ,
69- "options" : {
70- "browserTarget" : " angular-token-app:build"
71- },
7271 "configurations" : {
7372 "production" : {
7473 "browserTarget" : " angular-token-app:build:production"
74+ },
75+ "development" : {
76+ "browserTarget" : " angular-token-app:build:development"
7577 }
76- }
77- },
78- "extract-i18n" : {
79- "builder" : " @angular-devkit/build-angular:extract-i18n" ,
80- "options" : {
81- "browserTarget" : " angular-token-app:build"
82- }
83- },
84- "test" : {
85- "builder" : " @angular-devkit/build-angular:karma" ,
86- "options" : {
87- "main" : " src/test.ts" ,
88- "polyfills" : " src/polyfills.ts" ,
89- "tsConfig" : " src/tsconfig.spec.json" ,
90- "karmaConfig" : " src/karma.conf.js" ,
91- "styles" : [
92- " ./node_modules/@angular/material/prebuilt-themes/indigo-pink.css" ,
93- " src/styles.scss"
94- ],
95- "scripts" : [],
96- "assets" : [
97- " src/favicon.ico" ,
98- " src/assets"
99- ]
100- }
101- },
102- "lint" : {
103- "builder" : " @angular-devkit/build-angular:tslint" ,
104- "options" : {
105- "tsConfig" : [
106- " src/tsconfig.app.json" ,
107- " src/tsconfig.spec.json"
108- ],
109- "exclude" : [
110- " **/node_modules/**"
111- ]
112- }
113- }
114- }
115- },
116- "angular-token-app-e2e" : {
117- "root" : " e2e/" ,
118- "projectType" : " application" ,
119- "prefix" : " " ,
120- "architect" : {
121- "e2e" : {
122- "builder" : " @angular-devkit/build-angular:protractor" ,
123- "options" : {
124- "protractorConfig" : " e2e/protractor.conf.js" ,
125- "devServerTarget" : " angular-token-app:serve"
12678 },
127- "configurations" : {
128- "production" : {
129- "devServerTarget" : " angular-token-app:serve:production"
130- }
131- }
132- },
133- "lint" : {
134- "builder" : " @angular-devkit/build-angular:tslint" ,
135- "options" : {
136- "tsConfig" : " e2e/tsconfig.e2e.json" ,
137- "exclude" : [
138- " **/node_modules/**"
139- ]
140- }
79+ "defaultConfiguration" : " development"
14180 }
14281 }
14382 },
14483 "angular-token" : {
84+ "projectType" : " library" ,
14585 "root" : " projects/angular-token" ,
14686 "sourceRoot" : " projects/angular-token/src" ,
147- "projectType" : " library" ,
14887 "prefix" : " lib" ,
14988 "architect" : {
15089 "build" : {
151- "builder" : " @angular-devkit/build-ng-packagr:build " ,
90+ "builder" : " @angular-devkit/build-angular: ng-packagr" ,
15291 "options" : {
153- "tsConfig" : " projects/angular-token/tsconfig.lib.json" ,
15492 "project" : " projects/angular-token/ng-package.json"
15593 },
15694 "configurations" : {
15795 "production" : {
158- "project" : " projects/angular-token/ng-package.prod.json" ,
15996 "tsConfig" : " projects/angular-token/tsconfig.lib.prod.json"
97+ },
98+ "development" : {
99+ "tsConfig" : " projects/angular-token/tsconfig.lib.json"
160100 }
161- }
101+ },
102+ "defaultConfiguration" : " production"
162103 },
163104 "test" : {
164105 "builder" : " @angular-devkit/build-angular:karma" ,
167108 "tsConfig" : " projects/angular-token/tsconfig.spec.json" ,
168109 "karmaConfig" : " projects/angular-token/karma.conf.js"
169110 }
170- },
171- "lint" : {
172- "builder" : " @angular-devkit/build-angular:tslint" ,
173- "options" : {
174- "tsConfig" : [
175- " projects/angular-token/tsconfig.lib.json" ,
176- " projects/angular-token/tsconfig.spec.json"
177- ],
178- "exclude" : [
179- " **/node_modules/**"
180- ]
181- }
182111 }
183112 }
184113 }
185- },
186- "defaultProject" : " angular-token-app"
187- }
114+ }
115+ }
0 commit comments