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