2 "name": "ceph-dashboard",
10 "start": "npm run env_build && ng serve --host 0.0.0.0 --ssl",
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",
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",
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",
33 "test": "jest --watch",
34 "test:ci": "JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter",
35 "e2e": "start-test 4200 'cypress open'",
36 "e2e:ci": "start-test 4200 'cypress run -b chrome --headless'",
37 "lint:tslint": "ng lint",
38 "lint:prettier": "prettier --list-different \"{src,cypress}/**/*.{ts,scss}\"",
39 "lint:html": "htmllint src/app/**/*.html && html-linter --config html-linter.config.json",
40 "lint:tsc": "tsc -p src/tsconfig.app.json --noEmit && tsc -p tsconfig.spec.json --noEmit && tsc -p cypress/tsconfig.json --noEmit",
41 "lint": "npm run lint:tsc && npm run lint:tslint && npm run lint:prettier && npm run lint:html",
42 "fix:prettier": "prettier --write \"{src,cypress}/**/*.{ts,scss}\"",
43 "fix:tslint": "npm run lint:tslint -- --fix",
44 "fixmod": "pretty-quick --pattern \"{src,cypress}/**/*.{ts,scss}\" --branch HEAD",
45 "fix": "npm run fix:tslint; npm run fix:prettier",
46 "fix:audit": "npx npm-force-resolutions",
47 "compodoc": "compodoc",
48 "doc-build": "compodoc -p src/tsconfig.app.json",
49 "doc-serve": "compodoc --port 8444 -s src/tsconfig.app.json"
53 "preset": "jest-preset-angular",
54 "setupFilesAfterEnv": [
55 "<rootDir>/src/setupJest.ts"
57 "transformIgnorePatterns": [
58 "node_modules/(?!@ngrx|ngx-bootstrap|@progress|simplebar)"
61 "^.+\\.(ts|html)$": "ts-jest",
62 "^.+\\.(js)$": "babel-jest"
67 "coverageReporters": [
71 "modulePathIgnorePatterns": [
77 "testURL": "http://localhost/"
80 "@angular/animations": "8.2.14",
81 "@angular/common": "8.2.14",
82 "@angular/compiler": "8.2.14",
83 "@angular/core": "8.2.14",
84 "@angular/forms": "8.2.14",
85 "@angular/platform-browser": "8.2.14",
86 "@angular/platform-browser-dynamic": "8.2.14",
87 "@angular/router": "8.2.14",
88 "@ngx-translate/i18n-polyfill": "1.0.0",
89 "@swimlane/ngx-datatable": "16.0.3",
90 "@types/file-saver": "^2.0.1",
91 "angular-tree-component": "8.5.6",
92 "async-mutex": "0.1.4",
95 "detect-browser": "5.0.0",
96 "file-saver": "^2.0.2",
97 "fork-awesome": "1.1.7",
100 "ng-block-ui": "2.1.8",
101 "ng-bootstrap-form-validation": "5.0.0",
102 "ng-click-outside": "6.0.0",
103 "ng2-charts": "2.3.0",
104 "ngx-bootstrap": "5.5.0",
105 "ngx-pipe-function": "^1.0.0",
106 "ngx-toastr": "11.3.3",
108 "simplebar-angular": "2.1.0",
109 "swagger-ui-dist": "3.25.0",
114 "@angular-devkit/build-angular": "0.803.29",
115 "@angular/cli": "8.3.29",
116 "@angular/compiler-cli": "8.2.14",
117 "@angular/language-service": "8.2.14",
118 "@compodoc/compodoc": "1.1.11",
119 "@types/jest": "25.1.4",
120 "@types/lodash": "4.14.149",
121 "@types/node": "12.12.34",
122 "@types/simplebar": "5.1.1",
123 "codelyzer": "5.2.2",
125 "html-linter": "1.1.1",
126 "htmllint-cli": "0.0.7",
128 "jest-canvas-mock": "2.2.0",
129 "jest-preset-angular": "8.2.0",
130 "jest-silent-reporter": "0.2.1",
131 "ng-bullet": "1.0.3",
133 "npm-force-resolutions": "0.0.3",
134 "npm-run-all": "4.1.5",
136 "pretty-quick": "2.0.1",
137 "replace-in-file": "5.0.2",
138 "start-server-and-test": "1.11.0",
139 "transifex-i18ntool": "1.1.0",
142 "typescript": "3.5.3"