]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/package.json
722baa8dc58f34cd26702cf1e5a85c22e551be5d
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / package.json
1 {
2 "name": "ceph-dashboard",
3 "version": "0.0.0",
4 "license": "MIT",
5 "config": {
6 "locale": "en-US"
7 },
8 "scripts": {
9 "ng": "ng",
10 "start": "npm run env_build && ng serve --host 0.0.0.0 --ssl",
11 "build": "npm run env_build && ng build --configuration=$npm_package_config_locale",
12 "build:localize": "node cd --env --pre && ng build --localize",
13 "postbuild:localize": "node cd --res",
14 "env_build": "node cd --env",
15 "i18n": "npm run i18n:extract && npm run i18n:push && npm run i18n:pull && npm run i18n:merge",
16 "i18n:extract": "ng extract-i18n --output-path src/locale --progress=false",
17 "i18n:push": "npx i18ntool push -c i18n.config.json",
18 "i18n:pull": "npx i18ntool pull -c i18n.config.json",
19 "i18n:merge": "npx i18ntool merge -c i18n.config.json",
20 "i18n:token": "npx i18ntool config token",
21 "test": "jest --watch",
22 "test:ci": "jest --clearCache && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter",
23 "pree2e": "rm -f cypress/reports/results-*.xml || true",
24 "e2e": "start-test 4200 'cypress open'",
25 "pree2e:ci": "npm run pree2e",
26 "e2e:ci": "start-test 4200 'cypress run -b chrome --headless'",
27 "lint:tslint": "ng lint",
28 "lint:gherkin": "gherkin-lint -c .gherkin-lintrc cypress/integration",
29 "lint:prettier": "prettier --list-different \"{src,cypress}/**/*.{ts,scss}\"",
30 "lint:html": "htmllint src/app/**/*.html && html-linter --config html-linter.config.json",
31 "prelint:tsc": "npm run postinstall",
32 "lint:tsc": "tsc -p tsconfig.app.json --noEmit && tsc -p tsconfig.spec.json --noEmit && tsc -p cypress/tsconfig.json --noEmit",
33 "lint:scss": "stylelint '**/*.scss'",
34 "lint": "run-p -csl --aggregate-output lint:*",
35 "fix:prettier": "prettier --write \"{src,cypress}/**/*.{ts,scss}\"",
36 "fix:tslint": "npm run lint:tslint -- --fix",
37 "fix:scss": "stylelint '**/*.scss' --fix",
38 "fixmod": "pretty-quick --pattern \"{src,cypress}/**/*.{ts,scss}\" --branch HEAD",
39 "fix": "run-p -csl --aggregate-output fix:*",
40 "compodoc": "compodoc",
41 "doc-build": "compodoc -p tsconfig.app.json",
42 "doc-serve": "compodoc --port 8444 -s tsconfig.app.json",
43 "postinstall": "ngcc --properties es2015 browser module main --async false --first-only --tsconfig 'tsconfig.app.json'"
44 },
45 "private": true,
46 "jest": {
47 "moduleNameMapper": {
48 "\\.scss$": "identity-obj-proxy",
49 "~/(.*)$": "<rootDir>/src/$1"
50 },
51 "preset": "jest-preset-angular",
52 "setupFilesAfterEnv": [
53 "<rootDir>/src/setupJest.ts"
54 ],
55 "transformIgnorePatterns": [
56 "node_modules/(?!@ngrx|@progress|simplebar|lodash-es|react-syntax-highlighter|swagger-client)"
57 ],
58 "transform": {
59 "^.+\\.(ts|html)$": "ts-jest",
60 "^.+\\.(js)$": "babel-jest"
61 },
62 "setupFiles": [
63 "jest-canvas-mock"
64 ],
65 "coverageReporters": [
66 "cobertura",
67 "html"
68 ],
69 "modulePathIgnorePatterns": [
70 "<rootDir>/coverage/"
71 ],
72 "testMatch": [
73 "**/*.spec.ts"
74 ],
75 "testURL": "http://localhost/"
76 },
77 "dependencies": {
78 "@angular/animations": "12.2.13",
79 "@angular/common": "12.2.13",
80 "@angular/compiler": "12.2.13",
81 "@angular/core": "12.2.13",
82 "@angular/forms": "12.2.13",
83 "@angular/localize": "12.2.13",
84 "@angular/platform-browser": "12.2.13",
85 "@angular/platform-browser-dynamic": "12.2.13",
86 "@angular/router": "12.2.13",
87 "@circlon/angular-tree-component": "10.0.0",
88 "@ng-bootstrap/ng-bootstrap": "10.0.0",
89 "@swimlane/ngx-datatable": "18.0.0",
90 "@types/file-saver": "2.0.1",
91 "async-mutex": "0.2.4",
92 "bootstrap": "4.6.1",
93 "chart.js": "2.9.4",
94 "detect-browser": "5.2.0",
95 "file-saver": "2.0.2",
96 "fork-awesome": "1.1.7",
97 "lodash": "4.17.21",
98 "moment": "2.29.3",
99 "ng-block-ui": "3.0.2",
100 "ng-click-outside": "7.0.0",
101 "ng2-charts": "2.4.2",
102 "ngx-pipe-function": "1.0.0",
103 "ngx-toastr": "14.1.4",
104 "rxjs": "6.6.3",
105 "simplebar-angular": "2.3.6",
106 "swagger-ui": "4.12.0",
107 "tslib": "2.3.1"
108 },
109 "devDependencies": {
110 "@angular-devkit/build-angular": "12.2.13",
111 "@angular/cli": "12.2.13",
112 "@angular/compiler-cli": "12.2.13",
113 "@angular/language-service": "12.2.13",
114 "@applitools/eyes-cypress": "3.22.5",
115 "@compodoc/compodoc": "1.1.15",
116 "@cypress/browserify-preprocessor": "3.0.2",
117 "@grafana/e2e": "8.4.5",
118 "@types/brace-expansion": "1.1.0",
119 "@types/cypress-cucumber-preprocessor": "4.0.1",
120 "@types/jest": "26.0.14",
121 "@types/lodash": "4.14.161",
122 "@types/node": "12.12.62",
123 "@types/simplebar": "5.1.1",
124 "@types/swagger-ui": "3.52.0",
125 "codelyzer": "6.0.2",
126 "cypress": "9.7.0",
127 "cypress-cucumber-preprocessor": "4.3.1",
128 "cypress-iframe": "1.0.1",
129 "cypress-multi-reporters": "1.5.0",
130 "gherkin-lint": "4.2.2",
131 "html-linter": "1.1.1",
132 "htmllint-cli": "0.0.7",
133 "identity-obj-proxy": "3.0.0",
134 "isomorphic-form-data": "2.0.0",
135 "jest": "26.5.2",
136 "jest-canvas-mock": "2.3.0",
137 "jest-preset-angular": "8.3.1",
138 "jest-silent-reporter": "0.2.1",
139 "mocha-junit-reporter": "2.0.2",
140 "ng-bullet": "1.0.3",
141 "ng-mocks": "10.2.0",
142 "npm-run-all": "4.1.5",
143 "prettier": "2.1.2",
144 "pretty-quick": "3.0.2",
145 "start-server-and-test": "1.12.1",
146 "stylelint": "13.13.1",
147 "stylelint-config-sass-guidelines": "7.1.0",
148 "stylelint-declaration-use-variable": "1.7.3",
149 "transifex-i18ntool": "1.1.0",
150 "ts-node": "9.0.0",
151 "tslint": "6.1.3",
152 "typescript": "4.3.5"
153 },
154 "cypress-cucumber-preprocessor": {
155 "nonGlobalStepDefinitions": true
156 }
157 }