]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/angular.json
update source to Ceph Pacific 16.2.2
[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 "extractCss": true,
81 "namedChunks": false,
82 "extractLicenses": true,
83 "vendorChunk": false,
84 "buildOptimizer": true,
85 "fileReplacements": [
86 {
87 "replace": "src/environments/environment.ts",
88 "with": "src/environments/environment.prod.ts"
89 }
90 ]
91 },
92 "cs": {
93 "localize": ["cs"]
94 },
95 "de": {
96 "localize": ["de"]
97 },
98 "en-US": {
99 "localize": ["en-US"]
100 },
101 "es": {
102 "localize": ["es"]
103 },
104 "fr": {
105 "localize": ["fr"]
106 },
107 "id": {
108 "localize": ["id"]
109 },
110 "it": {
111 "localize": ["it"]
112 },
113 "ja": {
114 "localize": ["ja"]
115 },
116 "ko": {
117 "localize": ["ko"]
118 },
119 "pl": {
120 "localize": ["pl"]
121 },
122 "pt": {
123 "localize": ["pt"]
124 },
125 "zh-Hans": {
126 "localize": ["zh-Hans"]
127 },
128 "zh-Hant": {
129 "localize": ["zh-Hant"]
130 }
131 }
132 },
133 "serve": {
134 "builder": "@angular-devkit/build-angular:dev-server",
135 "options": {
136 "browserTarget": "ceph-dashboard:build",
137 "proxyConfig": "proxy.conf.json"
138 },
139 "configurations": {
140 "production": {
141 "browserTarget": "ceph-dashboard:build:production"
142 },
143 "cs": {
144 "browserTarget": "ceph-dashboard:build:cs"
145 },
146 "de": {
147 "browserTarget": "ceph-dashboard:build:de"
148 },
149 "en-US": {
150 "browserTarget": "ceph-dashboard:build:en-US"
151 },
152 "es": {
153 "browserTarget": "ceph-dashboard:build:es"
154 },
155 "fr": {
156 "browserTarget": "ceph-dashboard:build:fr"
157 },
158 "id": {
159 "browserTarget": "ceph-dashboard:build:id"
160 },
161 "it": {
162 "browserTarget": "ceph-dashboard:build:it"
163 },
164 "ja": {
165 "browserTarget": "ceph-dashboard:build:ja"
166 },
167 "ko": {
168 "browserTarget": "ceph-dashboard:build:ko"
169 },
170 "pl": {
171 "browserTarget": "ceph-dashboard:build:pl"
172 },
173 "pt": {
174 "browserTarget": "ceph-dashboard:build:pt"
175 },
176 "zh-Hans": {
177 "browserTarget": "ceph-dashboard:build:zh-Hans"
178 },
179 "zh-Hant": {
180 "browserTarget": "ceph-dashboard:build:zh-Hant"
181 }
182 }
183 },
184 "extract-i18n": {
185 "builder": "@angular-devkit/build-angular:extract-i18n",
186 "options": {
187 "browserTarget": "ceph-dashboard:build"
188 }
189 },
190 "lint": {
191 "builder": "@angular-devkit/build-angular:tslint",
192 "options": {
193 "tsConfig": [
194 "tsconfig.app.json",
195 "tsconfig.spec.json",
196 "cypress/tsconfig.json"
197 ],
198 "exclude": [
199 "**/node_modules/**"
200 ]
201 }
202 }
203 },
204 "cli": {}
205 }
206 },
207 "defaultProject": "ceph-dashboard",
208 "schematics": {
209 "@schematics/angular:component": {
210 "prefix": "cd",
211 "style": "scss"
212 },
213 "@schematics/angular:directive": {
214 "prefix": "cd"
215 }
216 },
217 "cli": {
218 "analytics": false
219 }
220 }