]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/angular.json
import quincy beta 17.1.0
[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 "brace-expansion",
33 "chart.js",
34 "core-js",
35 "file-saver",
36 "lodash"
37 ],
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/swagger-ui/dist/swagger-ui.css",
60 "node_modules/ngx-toastr/toastr.css",
61 "src/styles.scss"
62 ],
63 "scripts": ["node_modules/chart.js/dist/Chart.bundle.js"],
64 "stylePreprocessorOptions": {
65 "includePaths": [
66 "src"
67 ]
68 },
69 "vendorChunk": true,
70 "extractLicenses": false,
71 "buildOptimizer": false,
72 "sourceMap": true,
73 "optimization": false,
74 "namedChunks": true
75 },
76 "configurations": {
77 "production": {
78 "budgets": [
79 {
80 "type": "anyComponentStyle",
81 "maximumWarning": "6kb"
82 }
83 ],
84 "optimization": true,
85 "outputHashing": "all",
86 "sourceMap": false,
87 "namedChunks": false,
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 ]
97 },
98 "cs": {
99 "localize": ["cs"]
100 },
101 "de": {
102 "localize": ["de"]
103 },
104 "en-US": {
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"]
136 }
137 },
138 "defaultConfiguration": ""
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"
149 },
150 "cs": {
151 "browserTarget": "ceph-dashboard:build:cs"
152 },
153 "de": {
154 "browserTarget": "ceph-dashboard:build:de"
155 },
156 "en-US": {
157 "browserTarget": "ceph-dashboard:build:en-US"
158 },
159 "es": {
160 "browserTarget": "ceph-dashboard:build:es"
161 },
162 "fr": {
163 "browserTarget": "ceph-dashboard:build:fr"
164 },
165 "id": {
166 "browserTarget": "ceph-dashboard:build:id"
167 },
168 "it": {
169 "browserTarget": "ceph-dashboard:build:it"
170 },
171 "ja": {
172 "browserTarget": "ceph-dashboard:build:ja"
173 },
174 "ko": {
175 "browserTarget": "ceph-dashboard:build:ko"
176 },
177 "pl": {
178 "browserTarget": "ceph-dashboard:build:pl"
179 },
180 "pt": {
181 "browserTarget": "ceph-dashboard:build:pt"
182 },
183 "zh-Hans": {
184 "browserTarget": "ceph-dashboard:build:zh-Hans"
185 },
186 "zh-Hant": {
187 "browserTarget": "ceph-dashboard:build:zh-Hant"
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": [
201 "tsconfig.app.json",
202 "tsconfig.spec.json",
203 "cypress/tsconfig.json"
204 ],
205 "exclude": [
206 "**/node_modules/**"
207 ]
208 }
209 }
210 },
211 "cli": {}
212 }
213 },
214 "defaultProject": "ceph-dashboard",
215 "schematics": {
216 "@schematics/angular:component": {
217 "prefix": "cd",
218 "style": "scss"
219 },
220 "@schematics/angular:directive": {
221 "prefix": "cd"
222 }
223 },
224 "cli": {
225 "analytics": false
226 }
227 }