-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 5.73 KB
/
package.json
File metadata and controls
143 lines (143 loc) · 5.73 KB
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
{
"name": "ceph-dashboard",
"version": "0.0.0",
"license": "MIT",
"config": {
"locale": "en-US"
},
"scripts": {
"ng": "ng",
"start": "npm run env_build && ng serve --host 0.0.0.0",
"build": "npm run env_build && ng build",
"build-i18n": "export _locale=${LOCALE:-$npm_package_config_locale}; [ -f src/locale/messages.${_locale}.xlf ] && npm run build -- --outputPath=dist/${_locale} --i18nFile=src/locale/messages.${_locale}.xlf --i18nLocale=${_locale}",
"build:en-US": "LOCALE=en-US npm run build-i18n",
"build:de-DE": "LOCALE=de-DE npm run build-i18n",
"build:es-ES": "LOCALE=es-ES npm run build-i18n",
"build:pt-BR": "LOCALE=pt-BR npm run build-i18n",
"build:it-IT": "LOCALE=it-IT npm run build-i18n",
"build:cs": "LOCALE=cs npm run build-i18n",
"build:fr-FR": "LOCALE=fr-FR npm run build-i18n",
"build:id-ID": "LOCALE=id-ID npm run build-i18n",
"build:ja-JP": "LOCALE=ja-JP npm run build-i18n",
"build:pl-PL": "LOCALE=pl-PL npm run build-i18n",
"build:zh-CN": "LOCALE=zh-CN npm run build-i18n",
"build:zh-TW": "LOCALE=zh-TW npm run build-i18n",
"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",
"i18n": "npm run i18n:extract && npm run i18n:push && npm run i18n:pull && npm run i18n:merge",
"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",
"i18n:push": "npx i18ntool push -c i18n.config.json",
"i18n:pull": "npx i18ntool pull -c i18n.config.json",
"i18n:merge": "npx i18ntool merge -c i18n.config.json",
"i18n:token": "npx i18ntool config token",
"test": "npm run test:config && jest --watch",
"test:ci": "npm run test:config && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter",
"test:config": "if [ ! -e 'src/unit-test-configuration.ts' ]; then cp 'src/unit-test-configuration.ts.sample' 'src/unit-test-configuration.ts'; fi",
"e2e": "npm run env_build && ng e2e",
"e2e:ci": "npm run env_build && ng e2e --dev-server-target",
"lint:tslint": "ng lint",
"lint:prettier": "prettier --list-different \"{src,e2e}/**/*.{ts,scss}\"",
"lint:html": "html-linter --config html-linter.config.json",
"lint:htmlhint": "htmlhint -r tag-pair src/app",
"lint:tsc": "npm run test:config && tsc -p src/tsconfig.app.json --noEmit --noUnusedLocals --noUnusedParameters && tsc -p src/tsconfig.spec.json --noEmit --noUnusedLocals --noUnusedParameters && tsc -p e2e/tsconfig.e2e.json --noEmit --noUnusedLocals --noUnusedParameters",
"lint": "npm run lint:tsc && npm run lint:tslint && npm run lint:prettier && npm run lint:html && npm run lint:htmlhint",
"fix:prettier": "prettier --write \"{src,e2e}/**/*.{ts,scss}\"",
"fix:tslint": "npm run lint:tslint -- --fix",
"fixmod": "pretty-quick --pattern \"{src,e2e}/**/*.{ts,scss}\" --branch HEAD",
"fix": "npm run fix:tslint; npm run fix:prettier",
"compodoc": "compodoc",
"doc-build": "compodoc -p src/tsconfig.app.json",
"doc-serve": "compodoc --port 8444 -s src/tsconfig.app.json"
},
"private": true,
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": [
"<rootDir>/src/setupJest.ts"
],
"transformIgnorePatterns": [
"node_modules/(?!@ngrx|ngx-bootstrap|@progress)"
],
"transform": {
"^.+\\.(ts|js|html)$": "ts-jest"
},
"setupFiles": [
"jest-canvas-mock"
],
"coverageReporters": [
"cobertura",
"html"
],
"modulePathIgnorePatterns": [
"<rootDir>/coverage/"
],
"testMatch": [
"**/*.spec.ts"
],
"testURL": "http://localhost/"
},
"dependencies": {
"@angular/animations": "8.2.8",
"@angular/common": "8.2.8",
"@angular/compiler": "8.2.8",
"@angular/core": "8.2.8",
"@angular/forms": "8.2.8",
"@angular/platform-browser": "8.2.8",
"@angular/platform-browser-dynamic": "8.2.8",
"@angular/router": "8.2.8",
"@auth0/angular-jwt": "2.1.1",
"@ngx-translate/i18n-polyfill": "1.0.0",
"@swimlane/ngx-datatable": "15.0.2",
"async-mutex": "0.1.4",
"bootstrap": "4.3.1",
"chart.js": "2.9.4",
"detect-browser": "4.7.0",
"fork-awesome": "1.1.7",
"lodash": "4.17.15",
"moment": "2.24.0",
"ng-block-ui": "2.1.7",
"ng-bootstrap-form-validation": "5.0.0",
"ng-sidebar": "9.1.1",
"ng2-charts": "2.3.0",
"ng2-tree": "2.0.0-rc.11",
"ngx-bootstrap": "5.1.2",
"ngx-store": "2.1.0",
"ngx-toastr": "11.0.0",
"rxjs": "6.5.3",
"rxjs-compat": "6.5.3",
"swagger-ui-dist": "3.23.11",
"tslib": "1.10.0",
"zone.js": "0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.803.6",
"@angular/cli": "8.3.6",
"@angular/compiler-cli": "8.2.8",
"@angular/language-service": "8.2.8",
"@compodoc/compodoc": "1.1.10",
"@types/jasmine": "3.4.0",
"@types/jasminewd2": "2.0.6",
"@types/jest": "24.0.18",
"@types/lodash": "4.14.141",
"@types/node": "12.7.8",
"codelyzer": "5.1.2",
"html-linter": "1.1.1",
"htmlhint": "0.11.0",
"jasmine-core": "3.5.0",
"jasmine-spec-reporter": "4.2.1",
"jest": "24.9.0",
"jest-canvas-mock": "2.1.1",
"jest-preset-angular": "7.1.1",
"jest-silent-reporter": "0.1.2",
"npm-run-all": "^4.1.5",
"prettier": "1.18.2",
"pretty-quick": "1.11.1",
"protractor": "5.4.2",
"protractor-fail-fast": "3.1.0",
"protractor-screenshoter-plugin": "0.10.3",
"replace-in-file": "4.1.3",
"transifex-i18ntool": "1.1.0",
"ts-node": "8.4.1",
"tslint": "5.20.0",
"typescript": "3.5.3"
}
}