]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/angular.json
9d26d5876b9fa23ed2de566524376769f5c8e7e0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / angular.json
1 {
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "ceph-dashboard": {
7 "i18n": {
8 "sourceLocale": {
9 "code": "en-US",
10 "baseHref": ""
11 },
12 "locales": {
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 }
61 }
62 },
63 "root": "",
64 "sourceRoot": "src",
65 "projectType": "application",
66 "architect": {
67 "build": {
68 "builder": "@angular-devkit/build-angular:browser",
69 "options": {
70 "allowedCommonJsDependencies": [
71 "brace-expansion",
72 "chart.js",
73 "core-js",
74 "file-saver",
75 "lodash"
76 ],
77 "i18nMissingTranslation": "ignore",
78 "outputPath": "dist",
79 "index": "src/index.html",
80 "main": "src/main.ts",
81 "tsConfig": "tsconfig.app.json",
82 "polyfills": "src/polyfills.ts",
83 "assets": [
84 "src/assets",
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 }
96 ],
97 "styles": [
98 "node_modules/swagger-ui/dist/swagger-ui.css",
99 "node_modules/ngx-toastr/toastr.css",
100 "src/styles.scss"
101 ],
102 "stylePreprocessorOptions": {
103 "includePaths": [
104 "src"
105 ]
106 },
107 "vendorChunk": true,
108 "extractLicenses": false,
109 "buildOptimizer": false,
110 "sourceMap": true,
111 "optimization": false,
112 "namedChunks": true
113 },
114 "configurations": {
115 "production": {
116 "budgets": [
117 {
118 "type": "anyComponentStyle",
119 "maximumWarning": "6kb"
120 }
121 ],
122 "optimization": true,
123 "outputHashing": "all",
124 "sourceMap": false,
125 "namedChunks": false,
126 "extractLicenses": true,
127 "vendorChunk": false,
128 "buildOptimizer": true,
129 "fileReplacements": [
130 {
131 "replace": "src/environments/environment.ts",
132 "with": "src/environments/environment.prod.ts"
133 }
134 ]
135 },
136 "cs": {
137 "localize": [
138 "cs"
139 ]
140 },
141 "de": {
142 "localize": [
143 "de"
144 ]
145 },
146 "en-US": {
147 "localize": [
148 "en-US"
149 ]
150 },
151 "es": {
152 "localize": [
153 "es"
154 ]
155 },
156 "fr": {
157 "localize": [
158 "fr"
159 ]
160 },
161 "id": {
162 "localize": [
163 "id"
164 ]
165 },
166 "it": {
167 "localize": [
168 "it"
169 ]
170 },
171 "ja": {
172 "localize": [
173 "ja"
174 ]
175 },
176 "ko": {
177 "localize": [
178 "ko"
179 ]
180 },
181 "pl": {
182 "localize": [
183 "pl"
184 ]
185 },
186 "pt": {
187 "localize": [
188 "pt"
189 ]
190 },
191 "zh-Hans": {
192 "localize": [
193 "zh-Hans"
194 ]
195 },
196 "zh-Hant": {
197 "localize": [
198 "zh-Hant"
199 ]
200 }
201 },
202 "defaultConfiguration": ""
203 },
204 "serve": {
205 "builder": "@angular-devkit/build-angular:dev-server",
206 "options": {
207 "browserTarget": "ceph-dashboard:build",
208 "proxyConfig": "proxy.conf.json"
209 },
210 "configurations": {
211 "production": {
212 "browserTarget": "ceph-dashboard:build:production"
213 },
214 "cs": {
215 "browserTarget": "ceph-dashboard:build:cs"
216 },
217 "de": {
218 "browserTarget": "ceph-dashboard:build:de"
219 },
220 "en-US": {
221 "browserTarget": "ceph-dashboard:build:en-US"
222 },
223 "es": {
224 "browserTarget": "ceph-dashboard:build:es"
225 },
226 "fr": {
227 "browserTarget": "ceph-dashboard:build:fr"
228 },
229 "id": {
230 "browserTarget": "ceph-dashboard:build:id"
231 },
232 "it": {
233 "browserTarget": "ceph-dashboard:build:it"
234 },
235 "ja": {
236 "browserTarget": "ceph-dashboard:build:ja"
237 },
238 "ko": {
239 "browserTarget": "ceph-dashboard:build:ko"
240 },
241 "pl": {
242 "browserTarget": "ceph-dashboard:build:pl"
243 },
244 "pt": {
245 "browserTarget": "ceph-dashboard:build:pt"
246 },
247 "zh-Hans": {
248 "browserTarget": "ceph-dashboard:build:zh-Hans"
249 },
250 "zh-Hant": {
251 "browserTarget": "ceph-dashboard:build:zh-Hant"
252 }
253 }
254 },
255 "extract-i18n": {
256 "builder": "@angular-devkit/build-angular:extract-i18n",
257 "options": {
258 "browserTarget": "ceph-dashboard:build"
259 }
260 },
261 "lint": {
262 "builder": "@angular-eslint/builder:lint",
263 "options": {
264 "lintFilePatterns": [
265 "src/**/*.ts",
266 "src/**/*.html"
267 ]
268 }
269 }
270 },
271 "cli": {}
272 }
273 },
274 "schematics": {
275 "@schematics/angular:component": {
276 "prefix": "cd",
277 "style": "scss"
278 },
279 "@schematics/angular:directive": {
280 "prefix": "cd"
281 }
282 },
283 "cli": {
284 "analytics": false,
285 "schematicCollections": [
286 "@angular-eslint/schematics"
287 ]
288 }
289 }