]>
Commit | Line | Data |
---|---|---|
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", | |
adb31ebb | 10 | "start": "npm run env_build && ng serve --host 0.0.0.0 --ssl", |
f67539c2 TL |
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", | |
eafe8130 | 15 | "i18n": "npm run i18n:extract && npm run i18n:push && npm run i18n:pull && npm run i18n:merge", |
a4b75251 | 16 | "i18n:extract": "ng extract-i18n --output-path src/locale --progress=false", |
eafe8130 TL |
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", | |
f6b5b4d7 | 21 | "test": "jest --watch", |
f67539c2 TL |
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", | |
e306af50 | 24 | "e2e": "start-test 4200 'cypress open'", |
f67539c2 | 25 | "pree2e:ci": "npm run pree2e", |
e306af50 | 26 | "e2e:ci": "start-test 4200 'cypress run -b chrome --headless'", |
39ae355f | 27 | "lint:eslint": "ng lint", |
1e59de90 | 28 | "lint:gherkin": "gherkin-lint -c .gherkin-lintrc cypress/e2e", |
e306af50 | 29 | "lint:prettier": "prettier --list-different \"{src,cypress}/**/*.{ts,scss}\"", |
9f95a23c | 30 | "lint:html": "htmllint src/app/**/*.html && html-linter --config html-linter.config.json", |
f67539c2 TL |
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:*", | |
e306af50 | 35 | "fix:prettier": "prettier --write \"{src,cypress}/**/*.{ts,scss}\"", |
39ae355f | 36 | "fix:eslint": "npm run lint:eslint -- --fix", |
f67539c2 | 37 | "fix:scss": "stylelint '**/*.scss' --fix", |
e306af50 | 38 | "fixmod": "pretty-quick --pattern \"{src,cypress}/**/*.{ts,scss}\" --branch HEAD", |
f67539c2 | 39 | "fix": "run-p -csl --aggregate-output fix:*", |
81eedcae | 40 | "compodoc": "compodoc", |
f67539c2 TL |
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'" | |
11fdf7f2 TL |
44 | }, |
45 | "private": true, | |
11fdf7f2 | 46 | "dependencies": { |
39ae355f TL |
47 | "@angular/animations": "13.3.11", |
48 | "@angular/common": "13.3.11", | |
49 | "@angular/compiler": "13.3.11", | |
50 | "@angular/core": "13.3.11", | |
51 | "@angular/forms": "13.3.11", | |
52 | "@angular/localize": "13.3.11", | |
53 | "@angular/platform-browser": "13.3.11", | |
54 | "@angular/platform-browser-dynamic": "13.3.11", | |
55 | "@angular/router": "13.3.11", | |
f67539c2 | 56 | "@circlon/angular-tree-component": "10.0.0", |
39ae355f | 57 | "@ng-bootstrap/ng-bootstrap": "12.1.2", |
1e59de90 TL |
58 | "@ngx-formly/bootstrap": "6.1.1", |
59 | "@ngx-formly/core": "6.1.1", | |
39ae355f | 60 | "@popperjs/core": "2.10.2", |
f67539c2 TL |
61 | "@swimlane/ngx-datatable": "18.0.0", |
62 | "@types/file-saver": "2.0.1", | |
63 | "async-mutex": "0.2.4", | |
39ae355f | 64 | "bootstrap": "5.0.0", |
b3b6e05e | 65 | "chart.js": "2.9.4", |
f67539c2 TL |
66 | "detect-browser": "5.2.0", |
67 | "file-saver": "2.0.2", | |
9f95a23c | 68 | "fork-awesome": "1.1.7", |
b3b6e05e | 69 | "lodash": "4.17.21", |
1e59de90 | 70 | "moment": "2.29.4", |
f67539c2 TL |
71 | "ng-block-ui": "3.0.2", |
72 | "ng-click-outside": "7.0.0", | |
b3b6e05e | 73 | "ng2-charts": "2.4.2", |
20effc67 | 74 | "ngx-pipe-function": "1.0.0", |
39ae355f | 75 | "ngx-toastr": "14.3.0", |
f67539c2 | 76 | "rxjs": "6.6.3", |
20effc67 | 77 | "simplebar-angular": "2.3.6", |
2a845540 | 78 | "swagger-ui": "4.12.0", |
39ae355f TL |
79 | "tslib": "2.3.1", |
80 | "zone.js": "0.11.8" | |
11fdf7f2 TL |
81 | }, |
82 | "devDependencies": { | |
1e59de90 | 83 | "@angular-devkit/build-angular": "13.3.11", |
39ae355f TL |
84 | "@angular-eslint/builder": "13.5.0", |
85 | "@angular-eslint/eslint-plugin": "13.5.0", | |
86 | "@angular-eslint/eslint-plugin-template": "13.5.0", | |
87 | "@angular-eslint/schematics": "13.5.0", | |
88 | "@angular-eslint/template-parser": "13.5.0", | |
89 | "@angular/cli": "13.3.9", | |
90 | "@angular/compiler-cli": "13.3.11", | |
91 | "@angular/language-service": "13.3.11", | |
20effc67 | 92 | "@applitools/eyes-cypress": "3.22.5", |
39ae355f TL |
93 | "@apteco/ngth": "1.5.0", |
94 | "@compodoc/compodoc": "1.1.18", | |
2a845540 | 95 | "@cypress/browserify-preprocessor": "3.0.2", |
20effc67 | 96 | "@types/brace-expansion": "1.1.0", |
2a845540 | 97 | "@types/cypress-cucumber-preprocessor": "4.0.1", |
39ae355f | 98 | "@types/jest": "28.1.3", |
f67539c2 TL |
99 | "@types/lodash": "4.14.161", |
100 | "@types/node": "12.12.62", | |
a4b75251 | 101 | "@types/swagger-ui": "3.52.0", |
39ae355f TL |
102 | "@typescript-eslint/eslint-plugin": "5.27.1", |
103 | "@typescript-eslint/parser": "5.27.1", | |
104 | "axe-core": "4.4.3", | |
1e59de90 | 105 | "cypress": "10.11.0", |
39ae355f | 106 | "cypress-axe": "0.14.0", |
2a845540 TL |
107 | "cypress-cucumber-preprocessor": "4.3.1", |
108 | "cypress-iframe": "1.0.1", | |
20effc67 | 109 | "cypress-multi-reporters": "1.5.0", |
39ae355f | 110 | "eslint": "8.17.0", |
2a845540 | 111 | "gherkin-lint": "4.2.2", |
11fdf7f2 | 112 | "html-linter": "1.1.1", |
9f95a23c | 113 | "htmllint-cli": "0.0.7", |
f67539c2 | 114 | "identity-obj-proxy": "3.0.0", |
a4b75251 | 115 | "isomorphic-form-data": "2.0.0", |
39ae355f TL |
116 | "jest": "28.1.3", |
117 | "jest-canvas-mock": "2.4.0", | |
118 | "jest-jasmine2": "28.1.3", | |
119 | "jest-preset-angular": "12.0.0", | |
120 | "jest-silent-reporter": "0.5.0", | |
121 | "mocha-junit-reporter": "2.1.0", | |
122 | "ng-mocks": "14.3.0", | |
9f95a23c | 123 | "npm-run-all": "4.1.5", |
f67539c2 TL |
124 | "prettier": "2.1.2", |
125 | "pretty-quick": "3.0.2", | |
b3b6e05e TL |
126 | "start-server-and-test": "1.12.1", |
127 | "stylelint": "13.13.1", | |
f67539c2 | 128 | "stylelint-config-sass-guidelines": "7.1.0", |
20effc67 | 129 | "stylelint-declaration-use-variable": "1.7.3", |
39ae355f | 130 | "table": "6.8.0", |
eafe8130 | 131 | "transifex-i18ntool": "1.1.0", |
f67539c2 | 132 | "ts-node": "9.0.0", |
39ae355f | 133 | "typescript": "4.6.4" |
2a845540 TL |
134 | }, |
135 | "cypress-cucumber-preprocessor": { | |
1e59de90 | 136 | "stepDefinitions": "cypress/e2e/common" |
11fdf7f2 TL |
137 | } |
138 | } |