]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/package.json
bump version to 15.2.4-pve1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / package.json
CommitLineData
11fdf7f2
TL
1{
2 "name": "ceph-dashboard",
3 "version": "0.0.0",
4 "license": "MIT",
eafe8130
TL
5 "config": {
6 "locale": "en-US"
7 },
11fdf7f2
TL
8 "scripts": {
9 "ng": "ng",
10 "start": "npm run env_build && ng serve --host 0.0.0.0",
9f95a23c
TL
11 "build": "export _locale=${LOCALE:-$npm_package_config_locale}; if [ ${_locale} = $npm_package_config_locale ]; then export _file=; else export _file=src/locale/messages.${_locale}.xlf; fi; ng build --outputPath=dist/${_locale} --i18nFile=${_file} --i18nLocale=${_locale}",
12 "prebuild": "npm run env_build",
13 "build:cs": "LOCALE=cs npm run build",
14 "build:de-DE": "LOCALE=de-DE npm run build",
15 "build:en-US": "LOCALE=en-US npm run build",
16 "build:es-ES": "LOCALE=es-ES npm run build",
17 "build:fr-FR": "LOCALE=fr-FR npm run build",
18 "build:id-ID": "LOCALE=id-ID npm run build",
19 "build:it-IT": "LOCALE=it-IT npm run build",
20 "build:ja-JP": "LOCALE=ja-JP npm run build",
21 "build:ko-KR": "LOCALE=ko-KR npm run build",
22 "build:pl-PL": "LOCALE=pl-PL npm run build",
23 "build:pt-BR": "LOCALE=pt-BR npm run build",
24 "build:zh-CN": "LOCALE=zh-CN npm run build",
25 "build:zh-TW": "LOCALE=zh-TW npm run build",
11fdf7f2 26 "env_build": "cp src/environments/environment.tpl.ts src/environments/environment.prod.ts && cp src/environments/environment.tpl.ts src/environments/environment.ts && node ./environment.build.js",
eafe8130
TL
27 "i18n": "npm run i18n:extract && npm run i18n:push && npm run i18n:pull && npm run i18n:merge",
28 "i18n:extract": "ng xi18n --i18n-format xlf --i18n-locale en-US --output-path locale --progress=false && ngx-extractor -i 'src/**/*.ts' -f xlf -o src/locale/messages.xlf -l en-US",
29 "i18n:push": "npx i18ntool push -c i18n.config.json",
30 "i18n:pull": "npx i18ntool pull -c i18n.config.json",
31 "i18n:merge": "npx i18ntool merge -c i18n.config.json",
32 "i18n:token": "npx i18ntool config token",
11fdf7f2
TL
33 "test": "npm run test:config && jest --watch",
34 "test:ci": "npm run test:config && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter",
35 "test:config": "if [ ! -e 'src/unit-test-configuration.ts' ]; then cp 'src/unit-test-configuration.ts.sample' 'src/unit-test-configuration.ts'; fi",
e306af50
TL
36 "e2e": "start-test 4200 'cypress open'",
37 "e2e:ci": "start-test 4200 'cypress run -b chrome --headless'",
11fdf7f2 38 "lint:tslint": "ng lint",
e306af50 39 "lint:prettier": "prettier --list-different \"{src,cypress}/**/*.{ts,scss}\"",
9f95a23c 40 "lint:html": "htmllint src/app/**/*.html && html-linter --config html-linter.config.json",
e306af50 41 "lint:tsc": "npm run test:config && tsc -p src/tsconfig.app.json --noEmit && tsc -p tsconfig.spec.json --noEmit && tsc -p cypress/tsconfig.json --noEmit",
11fdf7f2 42 "lint": "npm run lint:tsc && npm run lint:tslint && npm run lint:prettier && npm run lint:html",
e306af50 43 "fix:prettier": "prettier --write \"{src,cypress}/**/*.{ts,scss}\"",
11fdf7f2 44 "fix:tslint": "npm run lint:tslint -- --fix",
e306af50 45 "fixmod": "pretty-quick --pattern \"{src,cypress}/**/*.{ts,scss}\" --branch HEAD",
81eedcae 46 "fix": "npm run fix:tslint; npm run fix:prettier",
9f95a23c 47 "fix:audit": "npx npm-force-resolutions",
81eedcae
TL
48 "compodoc": "compodoc",
49 "doc-build": "compodoc -p src/tsconfig.app.json",
50 "doc-serve": "compodoc --port 8444 -s src/tsconfig.app.json"
11fdf7f2
TL
51 },
52 "private": true,
53 "jest": {
54 "preset": "jest-preset-angular",
55 "setupFilesAfterEnv": [
56 "<rootDir>/src/setupJest.ts"
57 ],
58 "transformIgnorePatterns": [
9f95a23c 59 "node_modules/(?!@ngrx|ngx-bootstrap|@progress|simplebar)"
11fdf7f2
TL
60 ],
61 "transform": {
9f95a23c
TL
62 "^.+\\.(ts|html)$": "ts-jest",
63 "^.+\\.(js)$": "babel-jest"
11fdf7f2
TL
64 },
65 "setupFiles": [
66 "jest-canvas-mock"
67 ],
68 "coverageReporters": [
69 "cobertura",
70 "html"
71 ],
72 "modulePathIgnorePatterns": [
73 "<rootDir>/coverage/"
74 ],
75 "testMatch": [
76 "**/*.spec.ts"
77 ],
78 "testURL": "http://localhost/"
79 },
80 "dependencies": {
9f95a23c
TL
81 "@angular/animations": "8.2.14",
82 "@angular/common": "8.2.14",
83 "@angular/compiler": "8.2.14",
84 "@angular/core": "8.2.14",
85 "@angular/forms": "8.2.14",
86 "@angular/platform-browser": "8.2.14",
87 "@angular/platform-browser-dynamic": "8.2.14",
88 "@angular/router": "8.2.14",
89 "@auth0/angular-jwt": "2.1.1",
11fdf7f2 90 "@ngx-translate/i18n-polyfill": "1.0.0",
e306af50
TL
91 "@swimlane/ngx-datatable": "16.0.3",
92 "@types/file-saver": "^2.0.1",
9f95a23c
TL
93 "angular-tree-component": "8.5.6",
94 "async-mutex": "0.1.4",
e306af50 95 "bootstrap": "4.4.1",
9f95a23c 96 "chart.js": "2.8.0",
e306af50
TL
97 "detect-browser": "5.0.0",
98 "file-saver": "^2.0.2",
9f95a23c
TL
99 "fork-awesome": "1.1.7",
100 "lodash": "4.17.15",
11fdf7f2 101 "moment": "2.24.0",
e306af50 102 "ng-block-ui": "2.1.8",
9f95a23c 103 "ng-bootstrap-form-validation": "5.0.0",
e306af50 104 "ng-click-outside": "6.0.0",
9f95a23c 105 "ng2-charts": "2.3.0",
e306af50
TL
106 "ngx-bootstrap": "5.5.0",
107 "ngx-toastr": "11.3.3",
801d1391 108 "rxjs": "6.5.4",
e306af50
TL
109 "simplebar-angular": "2.1.0",
110 "swagger-ui-dist": "3.25.0",
111 "tslib": "1.11.1",
9f95a23c 112 "zone.js": "0.9.1"
11fdf7f2
TL
113 },
114 "devDependencies": {
e306af50
TL
115 "@angular-devkit/build-angular": "0.803.26",
116 "@angular/cli": "8.3.26",
9f95a23c
TL
117 "@angular/compiler-cli": "8.2.14",
118 "@angular/language-service": "8.2.14",
119 "@compodoc/compodoc": "1.1.11",
801d1391 120 "@types/jest": "25.1.4",
e306af50
TL
121 "@types/lodash": "4.14.149",
122 "@types/node": "12.12.34",
123 "@types/simplebar": "5.1.1",
124 "codelyzer": "5.2.2",
125 "cypress": "4.4.0",
11fdf7f2 126 "html-linter": "1.1.1",
9f95a23c 127 "htmllint-cli": "0.0.7",
e306af50 128 "jest": "25.2.4",
9f95a23c 129 "jest-canvas-mock": "2.2.0",
e306af50 130 "jest-preset-angular": "8.1.3",
801d1391
TL
131 "jest-silent-reporter": "0.2.1",
132 "ng-bullet": "1.0.3",
e306af50 133 "ng-mocks": "9.2.0",
9f95a23c
TL
134 "npm-force-resolutions": "0.0.3",
135 "npm-run-all": "4.1.5",
e306af50 136 "prettier": "2.0.2",
801d1391 137 "pretty-quick": "2.0.1",
e306af50
TL
138 "replace-in-file": "5.0.2",
139 "start-server-and-test": "1.11.0",
eafe8130 140 "transifex-i18ntool": "1.1.0",
e306af50
TL
141 "ts-node": "8.8.1",
142 "tslint": "6.1.0",
9f95a23c
TL
143 "typescript": "3.5.3"
144 },
145 "resolutions": {
9f95a23c
TL
146 "mem": "4.3.0",
147 "fsevents": "2.1.2"
11fdf7f2
TL
148 }
149}