summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/angular.json
blob: b49c00b8cb791de6448de9ab9e5112e1198bd927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "ceph-dashboard": {
      "i18n": {
        "sourceLocale": { "code": "en-US", "baseHref": "" },
        "locales": {
          "cs": { "translation": "src/locale/messages.cs.xlf", "baseHref": "" },
          "de": { "translation": "src/locale/messages.de-DE.xlf", "baseHref": "" },
          "es": { "translation": "src/locale/messages.es-ES.xlf", "baseHref": "" },
          "fr": { "translation": "src/locale/messages.fr-FR.xlf", "baseHref": "" },
          "id": { "translation": "src/locale/messages.id-ID.xlf", "baseHref": "" },
          "it": { "translation": "src/locale/messages.it-IT.xlf", "baseHref": "" },
          "ja": { "translation": "src/locale/messages.ja-JP.xlf", "baseHref": "" },
          "ko": { "translation": "src/locale/messages.ko-KR.xlf", "baseHref": "" },
          "pl": { "translation": "src/locale/messages.pl-PL.xlf", "baseHref": "" },
          "pt": { "translation": "src/locale/messages.pt-BR.xlf", "baseHref": "" },
          "zh-Hans": { "translation": "src/locale/messages.zh-CN.xlf", "baseHref": "" },
          "zh-Hant": { "translation": "src/locale/messages.zh-TW.xlf", "baseHref": "" }
        }
      },
      "root": "",
      "sourceRoot": "src",
      "projectType": "application",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "allowedCommonJsDependencies": [
              "brace-expansion",
              "chart.js",
              "core-js",
              "file-saver",
              "lodash"
            ],
            "i18nMissingTranslation": "ignore",
            "outputPath": "dist",
            "index": "src/index.html",
            "main": "src/main.ts",
            "tsConfig": "tsconfig.app.json",
            "polyfills": "src/polyfills.ts",
            "assets": [
              "src/assets",
              "src/favicon.ico",
              {
                "glob": "**/swagger-ui.css",
                "input": "node_modules/swagger-ui-dist",
                "output": "."
              },
              {
                "glob": "**/swagger-ui-bundle.js",
                "input": "node_modules/swagger-ui-dist",
                "output": "."
              }
            ],
            "styles": [
              "node_modules/swagger-ui/dist/swagger-ui.css",
              "node_modules/ngx-toastr/toastr.css",
              "src/styles.scss"
            ],
            "scripts": ["node_modules/chart.js/dist/Chart.bundle.js"],
            "stylePreprocessorOptions": {
              "includePaths": [
                "src"
              ]
            },
            "vendorChunk": true,
            "extractLicenses": false,
            "buildOptimizer": false,
            "sourceMap": true,
            "optimization": false,
            "namedChunks": true
          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ]
            },
            "cs": {
              "localize": ["cs"]
            },
            "de": {
              "localize": ["de"]
            },
            "en-US": {
              "localize": ["en-US"]
            },
            "es": {
              "localize": ["es"]
            },
            "fr": {
              "localize": ["fr"]
            },
            "id": {
              "localize": ["id"]
            },
            "it": {
              "localize": ["it"]
            },
            "ja": {
              "localize": ["ja"]
            },
            "ko": {
              "localize": ["ko"]
            },
            "pl": {
              "localize": ["pl"]
            },
            "pt": {
              "localize": ["pt"]
            },
            "zh-Hans": {
              "localize": ["zh-Hans"]
            },
            "zh-Hant": {
              "localize": ["zh-Hant"]
            }
          },
          "defaultConfiguration": ""
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "ceph-dashboard:build",
            "proxyConfig": "proxy.conf.json"
          },
          "configurations": {
            "production": {
              "browserTarget": "ceph-dashboard:build:production"
            },
            "cs": {
              "browserTarget": "ceph-dashboard:build:cs"
            },
            "de": {
              "browserTarget": "ceph-dashboard:build:de"
            },
            "en-US": {
              "browserTarget": "ceph-dashboard:build:en-US"
            },
            "es": {
              "browserTarget": "ceph-dashboard:build:es"
            },
            "fr": {
              "browserTarget": "ceph-dashboard:build:fr"
            },
            "id": {
              "browserTarget": "ceph-dashboard:build:id"
            },
            "it": {
              "browserTarget": "ceph-dashboard:build:it"
            },
            "ja": {
              "browserTarget": "ceph-dashboard:build:ja"
            },
            "ko": {
              "browserTarget": "ceph-dashboard:build:ko"
            },
            "pl": {
              "browserTarget": "ceph-dashboard:build:pl"
            },
            "pt": {
              "browserTarget": "ceph-dashboard:build:pt"
            },
            "zh-Hans": {
              "browserTarget": "ceph-dashboard:build:zh-Hans"
            },
            "zh-Hant": {
              "browserTarget": "ceph-dashboard:build:zh-Hant"
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "ceph-dashboard:build"
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "tsconfig.app.json",
              "tsconfig.spec.json",
              "cypress/tsconfig.json"
            ],
            "exclude": [
              "**/node_modules/**"
            ]
          }
        }
      },
      "cli": {}
    }
  },
  "defaultProject": "ceph-dashboard",
  "schematics": {
    "@schematics/angular:component": {
      "prefix": "cd",
      "style": "scss"
    },
    "@schematics/angular:directive": {
      "prefix": "cd"
    }
  },
  "cli": {
    "analytics": false
  }
}