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