]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/angular.json
import ceph 16.2.7
[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": { "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 },
24 "root": "",
25 "sourceRoot": "src",
26 "projectType": "application",
27 "architect": {
28 "build": {
29 "builder": "@angular-devkit/build-angular:browser",
30 "options": {
31 "allowedCommonJsDependencies": [
32 "chart.js",
33 "core-js",
34 "file-saver",
35 "lodash"
36 ],
37 "aot": true,
38 "i18nMissingTranslation": "ignore",
39 "outputPath": "dist",
40 "index": "src/index.html",
41 "main": "src/main.ts",
42 "tsConfig": "tsconfig.app.json",
43 "polyfills": "src/polyfills.ts",
44 "assets": [
45 "src/assets",
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 }
57 ],
58 "styles": [
59 "node_modules/ngx-toastr/toastr.css",
60 "src/styles.scss"
61 ],
62 "scripts": ["node_modules/chart.js/dist/Chart.bundle.js"],
63 "stylePreprocessorOptions": {
64 "includePaths": [
65 "src"
66 ]
67 }
68 },
69 "configurations": {
70 "production": {
71 "budgets": [
72 {
73 "type": "anyComponentStyle",
74 "maximumWarning": "6kb"
75 }
76 ],
77 "optimization": true,
78 "outputHashing": "all",
79 "sourceMap": false,
80 "namedChunks": false,
81 "extractLicenses": true,
82 "vendorChunk": false,
83 "buildOptimizer": true,
84 "fileReplacements": [
85 {
86 "replace": "src/environments/environment.ts",
87 "with": "src/environments/environment.prod.ts"
88 }
89 ]
90 },
91 "cs": {
92 "localize": ["cs"]
93 },
94 "de": {
95 "localize": ["de"]
96 },
97 "en-US": {
98 "localize": ["en-US"]
99 },
100 "es": {
101 "localize": ["es"]
102 },
103 "fr": {
104 "localize": ["fr"]
105 },
106 "id": {
107 "localize": ["id"]
108 },
109 "it": {
110 "localize": ["it"]
111 },
112 "ja": {
113 "localize": ["ja"]
114 },
115 "ko": {
116 "localize": ["ko"]
117 },
118 "pl": {
119 "localize": ["pl"]
120 },
121 "pt": {
122 "localize": ["pt"]
123 },
124 "zh-Hans": {
125 "localize": ["zh-Hans"]
126 },
127 "zh-Hant": {
128 "localize": ["zh-Hant"]
129 }
130 }
131 },
132 "serve": {
133 "builder": "@angular-devkit/build-angular:dev-server",
134 "options": {
135 "browserTarget": "ceph-dashboard:build",
136 "proxyConfig": "proxy.conf.json"
137 },
138 "configurations": {
139 "production": {
140 "browserTarget": "ceph-dashboard:build:production"
141 },
142 "cs": {
143 "browserTarget": "ceph-dashboard:build:cs"
144 },
145 "de": {
146 "browserTarget": "ceph-dashboard:build:de"
147 },
148 "en-US": {
149 "browserTarget": "ceph-dashboard:build:en-US"
150 },
151 "es": {
152 "browserTarget": "ceph-dashboard:build:es"
153 },
154 "fr": {
155 "browserTarget": "ceph-dashboard:build:fr"
156 },
157 "id": {
158 "browserTarget": "ceph-dashboard:build:id"
159 },
160 "it": {
161 "browserTarget": "ceph-dashboard:build:it"
162 },
163 "ja": {
164 "browserTarget": "ceph-dashboard:build:ja"
165 },
166 "ko": {
167 "browserTarget": "ceph-dashboard:build:ko"
168 },
169 "pl": {
170 "browserTarget": "ceph-dashboard:build:pl"
171 },
172 "pt": {
173 "browserTarget": "ceph-dashboard:build:pt"
174 },
175 "zh-Hans": {
176 "browserTarget": "ceph-dashboard:build:zh-Hans"
177 },
178 "zh-Hant": {
179 "browserTarget": "ceph-dashboard:build:zh-Hant"
180 }
181 }
182 },
183 "extract-i18n": {
184 "builder": "@angular-devkit/build-angular:extract-i18n",
185 "options": {
186 "browserTarget": "ceph-dashboard:build"
187 }
188 },
189 "lint": {
190 "builder": "@angular-devkit/build-angular:tslint",
191 "options": {
192 "tsConfig": [
193 "tsconfig.app.json",
194 "tsconfig.spec.json",
195 "cypress/tsconfig.json"
196 ],
197 "exclude": [
198 "**/node_modules/**"
199 ]
200 }
201 }
202 },
203 "cli": {}
204 }
205 },
206 "defaultProject": "ceph-dashboard",
207 "schematics": {
208 "@schematics/angular:component": {
209 "prefix": "cd",
210 "style": "scss"
211 },
212 "@schematics/angular:directive": {
213 "prefix": "cd"
214 }
215 },
216 "cli": {
217 "analytics": false
218 }
219 }