]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | { |
2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
3 | "version": 1, | |
4 | "newProjectRoot": "projects", | |
5 | "projects": { | |
6 | "ceph-dashboard": { | |
f67539c2 | 7 | "i18n": { |
39ae355f TL |
8 | "sourceLocale": { |
9 | "code": "en-US", | |
10 | "baseHref": "" | |
11 | }, | |
f67539c2 | 12 | "locales": { |
39ae355f TL |
13 | "cs": { |
14 | "translation": "src/locale/messages.cs.xlf", | |
15 | "baseHref": "" | |
16 | }, | |
17 | "de": { | |
18 | "translation": "src/locale/messages.de-DE.xlf", | |
19 | "baseHref": "" | |
20 | }, | |
21 | "es": { | |
22 | "translation": "src/locale/messages.es-ES.xlf", | |
23 | "baseHref": "" | |
24 | }, | |
25 | "fr": { | |
26 | "translation": "src/locale/messages.fr-FR.xlf", | |
27 | "baseHref": "" | |
28 | }, | |
29 | "id": { | |
30 | "translation": "src/locale/messages.id-ID.xlf", | |
31 | "baseHref": "" | |
32 | }, | |
33 | "it": { | |
34 | "translation": "src/locale/messages.it-IT.xlf", | |
35 | "baseHref": "" | |
36 | }, | |
37 | "ja": { | |
38 | "translation": "src/locale/messages.ja-JP.xlf", | |
39 | "baseHref": "" | |
40 | }, | |
41 | "ko": { | |
42 | "translation": "src/locale/messages.ko-KR.xlf", | |
43 | "baseHref": "" | |
44 | }, | |
45 | "pl": { | |
46 | "translation": "src/locale/messages.pl-PL.xlf", | |
47 | "baseHref": "" | |
48 | }, | |
49 | "pt": { | |
50 | "translation": "src/locale/messages.pt-BR.xlf", | |
51 | "baseHref": "" | |
52 | }, | |
53 | "zh-Hans": { | |
54 | "translation": "src/locale/messages.zh-CN.xlf", | |
55 | "baseHref": "" | |
56 | }, | |
57 | "zh-Hant": { | |
58 | "translation": "src/locale/messages.zh-TW.xlf", | |
59 | "baseHref": "" | |
60 | } | |
f67539c2 TL |
61 | } |
62 | }, | |
11fdf7f2 TL |
63 | "root": "", |
64 | "sourceRoot": "src", | |
65 | "projectType": "application", | |
66 | "architect": { | |
67 | "build": { | |
68 | "builder": "@angular-devkit/build-angular:browser", | |
69 | "options": { | |
f67539c2 | 70 | "allowedCommonJsDependencies": [ |
20effc67 | 71 | "brace-expansion", |
f67539c2 TL |
72 | "chart.js", |
73 | "core-js", | |
74 | "file-saver", | |
75 | "lodash" | |
76 | ], | |
eafe8130 | 77 | "i18nMissingTranslation": "ignore", |
11fdf7f2 TL |
78 | "outputPath": "dist", |
79 | "index": "src/index.html", | |
80 | "main": "src/main.ts", | |
f67539c2 | 81 | "tsConfig": "tsconfig.app.json", |
11fdf7f2 TL |
82 | "polyfills": "src/polyfills.ts", |
83 | "assets": [ | |
84 | "src/assets", | |
9f95a23c TL |
85 | "src/favicon.ico", |
86 | { | |
87 | "glob": "**/swagger-ui.css", | |
88 | "input": "node_modules/swagger-ui-dist", | |
89 | "output": "." | |
90 | }, | |
91 | { | |
92 | "glob": "**/swagger-ui-bundle.js", | |
93 | "input": "node_modules/swagger-ui-dist", | |
94 | "output": "." | |
95 | } | |
11fdf7f2 TL |
96 | ], |
97 | "styles": [ | |
20effc67 | 98 | "node_modules/swagger-ui/dist/swagger-ui.css", |
494da23a | 99 | "node_modules/ngx-toastr/toastr.css", |
f67539c2 | 100 | "src/styles.scss" |
9f95a23c | 101 | ], |
39ae355f TL |
102 | "scripts": [ |
103 | "node_modules/chart.js/dist/Chart.bundle.js" | |
104 | ], | |
9f95a23c TL |
105 | "stylePreprocessorOptions": { |
106 | "includePaths": [ | |
9f95a23c TL |
107 | "src" |
108 | ] | |
20effc67 TL |
109 | }, |
110 | "vendorChunk": true, | |
111 | "extractLicenses": false, | |
112 | "buildOptimizer": false, | |
113 | "sourceMap": true, | |
114 | "optimization": false, | |
115 | "namedChunks": true | |
11fdf7f2 TL |
116 | }, |
117 | "configurations": { | |
118 | "production": { | |
f67539c2 TL |
119 | "budgets": [ |
120 | { | |
121 | "type": "anyComponentStyle", | |
122 | "maximumWarning": "6kb" | |
123 | } | |
124 | ], | |
11fdf7f2 TL |
125 | "optimization": true, |
126 | "outputHashing": "all", | |
127 | "sourceMap": false, | |
11fdf7f2 | 128 | "namedChunks": false, |
11fdf7f2 TL |
129 | "extractLicenses": true, |
130 | "vendorChunk": false, | |
131 | "buildOptimizer": true, | |
132 | "fileReplacements": [ | |
133 | { | |
134 | "replace": "src/environments/environment.ts", | |
135 | "with": "src/environments/environment.prod.ts" | |
136 | } | |
137 | ] | |
eafe8130 TL |
138 | }, |
139 | "cs": { | |
39ae355f TL |
140 | "localize": [ |
141 | "cs" | |
142 | ] | |
eafe8130 | 143 | }, |
f67539c2 | 144 | "de": { |
39ae355f TL |
145 | "localize": [ |
146 | "de" | |
147 | ] | |
eafe8130 TL |
148 | }, |
149 | "en-US": { | |
39ae355f TL |
150 | "localize": [ |
151 | "en-US" | |
152 | ] | |
f67539c2 TL |
153 | }, |
154 | "es": { | |
39ae355f TL |
155 | "localize": [ |
156 | "es" | |
157 | ] | |
f67539c2 TL |
158 | }, |
159 | "fr": { | |
39ae355f TL |
160 | "localize": [ |
161 | "fr" | |
162 | ] | |
f67539c2 TL |
163 | }, |
164 | "id": { | |
39ae355f TL |
165 | "localize": [ |
166 | "id" | |
167 | ] | |
f67539c2 TL |
168 | }, |
169 | "it": { | |
39ae355f TL |
170 | "localize": [ |
171 | "it" | |
172 | ] | |
f67539c2 TL |
173 | }, |
174 | "ja": { | |
39ae355f TL |
175 | "localize": [ |
176 | "ja" | |
177 | ] | |
f67539c2 TL |
178 | }, |
179 | "ko": { | |
39ae355f TL |
180 | "localize": [ |
181 | "ko" | |
182 | ] | |
f67539c2 TL |
183 | }, |
184 | "pl": { | |
39ae355f TL |
185 | "localize": [ |
186 | "pl" | |
187 | ] | |
f67539c2 TL |
188 | }, |
189 | "pt": { | |
39ae355f TL |
190 | "localize": [ |
191 | "pt" | |
192 | ] | |
f67539c2 TL |
193 | }, |
194 | "zh-Hans": { | |
39ae355f TL |
195 | "localize": [ |
196 | "zh-Hans" | |
197 | ] | |
f67539c2 TL |
198 | }, |
199 | "zh-Hant": { | |
39ae355f TL |
200 | "localize": [ |
201 | "zh-Hant" | |
202 | ] | |
11fdf7f2 | 203 | } |
20effc67 TL |
204 | }, |
205 | "defaultConfiguration": "" | |
11fdf7f2 TL |
206 | }, |
207 | "serve": { | |
208 | "builder": "@angular-devkit/build-angular:dev-server", | |
209 | "options": { | |
210 | "browserTarget": "ceph-dashboard:build", | |
211 | "proxyConfig": "proxy.conf.json" | |
212 | }, | |
213 | "configurations": { | |
214 | "production": { | |
215 | "browserTarget": "ceph-dashboard:build:production" | |
eafe8130 TL |
216 | }, |
217 | "cs": { | |
218 | "browserTarget": "ceph-dashboard:build:cs" | |
219 | }, | |
f67539c2 TL |
220 | "de": { |
221 | "browserTarget": "ceph-dashboard:build:de" | |
eafe8130 TL |
222 | }, |
223 | "en-US": { | |
224 | "browserTarget": "ceph-dashboard:build:en-US" | |
225 | }, | |
f67539c2 TL |
226 | "es": { |
227 | "browserTarget": "ceph-dashboard:build:es" | |
eafe8130 | 228 | }, |
f67539c2 TL |
229 | "fr": { |
230 | "browserTarget": "ceph-dashboard:build:fr" | |
eafe8130 | 231 | }, |
f67539c2 TL |
232 | "id": { |
233 | "browserTarget": "ceph-dashboard:build:id" | |
eafe8130 | 234 | }, |
f67539c2 TL |
235 | "it": { |
236 | "browserTarget": "ceph-dashboard:build:it" | |
eafe8130 | 237 | }, |
f67539c2 TL |
238 | "ja": { |
239 | "browserTarget": "ceph-dashboard:build:ja" | |
eafe8130 | 240 | }, |
f67539c2 TL |
241 | "ko": { |
242 | "browserTarget": "ceph-dashboard:build:ko" | |
9f95a23c | 243 | }, |
f67539c2 TL |
244 | "pl": { |
245 | "browserTarget": "ceph-dashboard:build:pl" | |
eafe8130 | 246 | }, |
f67539c2 TL |
247 | "pt": { |
248 | "browserTarget": "ceph-dashboard:build:pt" | |
eafe8130 | 249 | }, |
f67539c2 TL |
250 | "zh-Hans": { |
251 | "browserTarget": "ceph-dashboard:build:zh-Hans" | |
eafe8130 | 252 | }, |
f67539c2 TL |
253 | "zh-Hant": { |
254 | "browserTarget": "ceph-dashboard:build:zh-Hant" | |
11fdf7f2 TL |
255 | } |
256 | } | |
257 | }, | |
258 | "extract-i18n": { | |
259 | "builder": "@angular-devkit/build-angular:extract-i18n", | |
260 | "options": { | |
261 | "browserTarget": "ceph-dashboard:build" | |
262 | } | |
263 | }, | |
264 | "lint": { | |
39ae355f | 265 | "builder": "@angular-eslint/builder:lint", |
11fdf7f2 | 266 | "options": { |
39ae355f TL |
267 | "lintFilePatterns": [ |
268 | "src/**/*.ts", | |
269 | "src/**/*.html" | |
11fdf7f2 TL |
270 | ] |
271 | } | |
272 | } | |
9f95a23c TL |
273 | }, |
274 | "cli": {} | |
11fdf7f2 TL |
275 | } |
276 | }, | |
11fdf7f2 TL |
277 | "schematics": { |
278 | "@schematics/angular:component": { | |
279 | "prefix": "cd", | |
f67539c2 | 280 | "style": "scss" |
11fdf7f2 TL |
281 | }, |
282 | "@schematics/angular:directive": { | |
283 | "prefix": "cd" | |
284 | } | |
9f95a23c | 285 | }, |
f67539c2 | 286 | "cli": { |
39ae355f | 287 | "analytics": false, |
aee94f69 TL |
288 | "schematicCollections": [ |
289 | "@angular-eslint/schematics" | |
290 | ] | |
f67539c2 | 291 | } |
11fdf7f2 | 292 | } |