|
1 | | -{ |
2 | | - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
3 | | - "version": 1, |
4 | | - "newProjectRoot": "projects", |
5 | | - "projects": { |
6 | | - "SPA": { |
7 | | - "projectType": "application", |
8 | | - "schematics": {}, |
9 | | - "root": "", |
10 | | - "sourceRoot": "src", |
11 | | - "prefix": "app", |
12 | | - "architect": { |
13 | | - "build": { |
14 | | - "builder": "@angular-devkit/build-angular:browser", |
15 | | - "options": { |
16 | | - "outputPath": "dist/spa", |
17 | | - "index": "src/index.html", |
18 | | - "main": "src/main.ts", |
19 | | - "polyfills": "src/polyfills.ts", |
20 | | - "tsConfig": "tsconfig.app.json", |
21 | | - "assets": [ |
22 | | - "src/favicon.svg", |
23 | | - "src/assets" |
24 | | - ], |
25 | | - "styles": [ |
26 | | - "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
27 | | - "src/styles.css" |
28 | | - ], |
29 | | - "scripts": [] |
30 | | - }, |
31 | | - "configurations": { |
32 | | - "production": { |
33 | | - "budgets": [ |
34 | | - { |
35 | | - "type": "initial", |
36 | | - "maximumWarning": "500kb", |
37 | | - "maximumError": "1mb" |
38 | | - }, |
39 | | - { |
40 | | - "type": "anyComponentStyle", |
41 | | - "maximumWarning": "2kb", |
42 | | - "maximumError": "4kb" |
43 | | - } |
44 | | - ], |
45 | | - "fileReplacements": [ |
46 | | - { |
47 | | - "replace": "src/environments/environment.ts", |
48 | | - "with": "src/environments/environment.prod.ts" |
49 | | - } |
50 | | - ], |
51 | | - "outputHashing": "all" |
52 | | - }, |
53 | | - "development": { |
54 | | - "buildOptimizer": false, |
55 | | - "optimization": false, |
56 | | - "vendorChunk": true, |
57 | | - "extractLicenses": false, |
58 | | - "sourceMap": true, |
59 | | - "namedChunks": true |
60 | | - } |
61 | | - }, |
62 | | - "defaultConfiguration": "production" |
63 | | - }, |
64 | | - "serve": { |
65 | | - "builder": "@angular-devkit/build-angular:dev-server", |
66 | | - "configurations": { |
67 | | - "production": { |
68 | | - "browserTarget": "SPA:build:production" |
69 | | - }, |
70 | | - "development": { |
71 | | - "browserTarget": "SPA:build:development" |
72 | | - } |
73 | | - }, |
74 | | - "defaultConfiguration": "development" |
75 | | - }, |
76 | | - "extract-i18n": { |
77 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
78 | | - "options": { |
79 | | - "browserTarget": "SPA:build" |
80 | | - } |
81 | | - }, |
82 | | - "test": { |
83 | | - "builder": "@angular-devkit/build-angular:karma", |
84 | | - "options": { |
85 | | - "main": "src/test.ts", |
86 | | - "polyfills": "src/polyfills.ts", |
87 | | - "tsConfig": "tsconfig.spec.json", |
88 | | - "karmaConfig": "karma.conf.js", |
89 | | - "assets": [ |
90 | | - "src/favicon.ico", |
91 | | - "src/assets" |
92 | | - ], |
93 | | - "styles": [ |
94 | | - "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
95 | | - "src/styles.css" |
96 | | - ], |
97 | | - "scripts": [] |
98 | | - } |
99 | | - } |
100 | | - } |
101 | | - } |
102 | | - } |
103 | | -} |
| 1 | +{ |
| 2 | + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | + "version": 1, |
| 4 | + "newProjectRoot": "projects", |
| 5 | + "projects": { |
| 6 | + "SPA": { |
| 7 | + "projectType": "application", |
| 8 | + "schematics": {}, |
| 9 | + "root": "", |
| 10 | + "sourceRoot": "src", |
| 11 | + "prefix": "app", |
| 12 | + "architect": { |
| 13 | + "build": { |
| 14 | + "builder": "@angular-devkit/build-angular:application", |
| 15 | + "options": { |
| 16 | + "outputPath": { |
| 17 | + "base": "dist/spa" |
| 18 | + }, |
| 19 | + "index": "src/index.html", |
| 20 | + "polyfills": [ |
| 21 | + "src/polyfills.ts" |
| 22 | + ], |
| 23 | + "tsConfig": "tsconfig.app.json", |
| 24 | + "assets": [ |
| 25 | + "src/favicon.svg", |
| 26 | + "src/assets" |
| 27 | + ], |
| 28 | + "styles": [ |
| 29 | + "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 30 | + "src/styles.css" |
| 31 | + ], |
| 32 | + "scripts": [], |
| 33 | + "browser": "src/main.ts" |
| 34 | + }, |
| 35 | + "configurations": { |
| 36 | + "production": { |
| 37 | + "budgets": [ |
| 38 | + { |
| 39 | + "type": "initial", |
| 40 | + "maximumWarning": "500kb", |
| 41 | + "maximumError": "1mb" |
| 42 | + }, |
| 43 | + { |
| 44 | + "type": "anyComponentStyle", |
| 45 | + "maximumWarning": "2kb", |
| 46 | + "maximumError": "4kb" |
| 47 | + } |
| 48 | + ], |
| 49 | + "fileReplacements": [ |
| 50 | + { |
| 51 | + "replace": "src/environments/environment.ts", |
| 52 | + "with": "src/environments/environment.prod.ts" |
| 53 | + } |
| 54 | + ], |
| 55 | + "outputHashing": "all" |
| 56 | + }, |
| 57 | + "development": { |
| 58 | + "optimization": false, |
| 59 | + "extractLicenses": false, |
| 60 | + "sourceMap": true, |
| 61 | + "namedChunks": true |
| 62 | + } |
| 63 | + }, |
| 64 | + "defaultConfiguration": "production" |
| 65 | + }, |
| 66 | + "serve": { |
| 67 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 68 | + "configurations": { |
| 69 | + "production": { |
| 70 | + "buildTarget": "SPA:build:production" |
| 71 | + }, |
| 72 | + "development": { |
| 73 | + "buildTarget": "SPA:build:development" |
| 74 | + } |
| 75 | + }, |
| 76 | + "defaultConfiguration": "development" |
| 77 | + }, |
| 78 | + "extract-i18n": { |
| 79 | + "builder": "@angular-devkit/build-angular:extract-i18n", |
| 80 | + "options": { |
| 81 | + "buildTarget": "SPA: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": "tsconfig.spec.json", |
| 90 | + "karmaConfig": "karma.conf.js", |
| 91 | + "assets": [ |
| 92 | + "src/favicon.ico", |
| 93 | + "src/assets" |
| 94 | + ], |
| 95 | + "styles": [ |
| 96 | + "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 97 | + "src/styles.css" |
| 98 | + ], |
| 99 | + "scripts": [] |
| 100 | + } |
| 101 | + } |
| 102 | + } |
| 103 | + } |
| 104 | + }, |
| 105 | + "cli": { |
| 106 | + "analytics": false |
| 107 | + } |
| 108 | +} |
0 commit comments