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