-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
278 lines (278 loc) · 9.55 KB
/
package.json
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
{
"name": "intershop-pwa",
"description": "Intershop Progressive Web App",
"version": "3.2.0",
"license": "Intershop Standard Software End User License Agreement Intershop 7",
"keywords": [
"intershop"
],
"engines": {
"node": "16.16.0",
"npm": "8.11.0"
},
"private": true,
"scripts": {
"prepare": "husky install",
"update-dockerignore": "node scripts/update-dockerignore",
"init-development-environment": "node scripts/init-development-environment",
"check-file-synchronization": "node scripts/check-file-synchronization",
"postinstall": "npm-run-all --silent build:eslint-rules build:schematics synchronize-lazy-components init-development-environment ngcc",
"build:eslint-rules": "cd eslint-rules && npm run build",
"build:schematics": "cd schematics && npm run build",
"ng": "ng",
"ngcc": "ngcc",
"test": "jest --ci",
"test:watch": "jest --watch -i",
"test:eslint-rules": "cd eslint-rules && npm run test -- --ci",
"test:schematics": "cd schematics && npm run test -- --ci",
"e2e": "cd e2e && npm install && node open-cypress",
"lint": "ng lint",
"lint-hard": "node scripts/eslint-hard",
"format": "node docs/check-sentence-newline && stylelint \"**/*.{css,scss}\" --fix && prettier --loglevel warn --write \"**/*.*\"",
"compile": "tsc --project tsconfig.all.json --noEmit",
"dead-code": "npx ts-node scripts/find-dead-code.ts",
"clean-localizations": "node scripts/clean-up-localizations",
"cleanup-testbed": "node scripts/cleanup-testbed.mjs",
"spell-check": "cspell lint --no-summary --no-progress \"{src,projects,docs}/**/*.{html,ts,scss,md}\"",
"spell-check-localizations": "cspell lint --no-summary --no-progress \"src/assets/i18n/{de_DE,en_US,fr_FR}.json\"",
"clean": "git clean -xdf -e \"*environment.local.ts\" -e \"*environment.development.ts\" -e \"*node_modules\"",
"postclean": "npm ci --prefer-offline --no-audit",
"check": "npm-run-all \"lint -- --fix\" format compile build:multi test dead-code update-dockerignore clean-localizations",
"clean-check": "npm-run-all clean check",
"check-no-changes": "git diff --exit-code --raw -p --stat",
"show-ignored-files": "git ls-files . --exclude-standard --others --ignored --directory",
"changelog": "npx -p conventional-changelog-cli conventional-changelog -n intershop-changelog.js -i CHANGELOG.md -s",
"3rd-party-licenses": "npm ci && npx license-checker --csv --out 3rd-party-licenses.txt --customPath templates/3rd-party-licenses_format.json",
"3rd-party-licenses:summary": "npx license-checker --summary",
"docs": "npx markserv -a 0.0.0.0 docs/README.md",
"compodoc": "npx compodoc -p tsconfig.doc.json -d docs/compodoc -y docs/theme --hideGenerator",
"compodoc:serve": "npm run compodoc -- -s -w",
"synchronize-lazy-components": "ng g lazy-components",
"build:watch": "npm run build client -- --watch",
"build": "node scripts/build-pwa",
"build:multi": "node scripts/build-multi-pwa",
"analyze": "npm run build client -- --stats-json && npx webpack-bundle-analyzer --host 0.0.0.0 dist/browser/stats.json dist/browser",
"serve": "node dist/server/main.js",
"start": "npm-run-all build serve",
"start:ssr-dev": "ng run intershop-pwa:serve-ssr",
"xliff": "node scripts/convert-to-xliff.js"
},
"dependencies": {
"@angular-devkit/schematics": "^14.2.10",
"@angular/animations": "^14.2.12",
"@angular/cdk": "^14.2.7",
"@angular/common": "^14.2.12",
"@angular/compiler": "^14.2.12",
"@angular/core": "^14.2.12",
"@angular/forms": "^14.2.12",
"@angular/localize": "^14.2.12",
"@angular/platform-browser": "^14.2.12",
"@angular/platform-browser-dynamic": "^14.2.12",
"@angular/platform-server": "^14.2.12",
"@angular/router": "^14.2.12",
"@angular/service-worker": "^14.2.12",
"@fortawesome/angular-fontawesome": "^0.11.1",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@googlemaps/js-api-loader": "^1.15.1",
"@ng-bootstrap/ng-bootstrap": "^11.0.1",
"@ngrx/effects": "^14.3.2",
"@ngrx/entity": "^14.3.2",
"@ngrx/router-store": "^14.3.2",
"@ngrx/store": "^14.3.2",
"@ngrx/store-devtools": "^14.3.2",
"@nguniversal/express-engine": "^14.2.3",
"@ngx-formly/core": "^6.0.4",
"@ngx-translate/core": "^14.0.0",
"@rx-angular/state": "^1.7.0",
"@sentry/browser": "^7.25.0",
"@types/dom-speech-recognition": "^0.0.1",
"@types/webmidi": "^2.0.6",
"angular-oauth2-oidc": "^13.0.1",
"angulartics2": "^12.2.0",
"bootstrap": "^4.6.2",
"date-fns": "^2.29.3",
"express": "^4.18.2",
"express-http-proxy": "^1.6.3",
"express-robots-txt": "^1.0.0",
"file-replace-loader": "^1.4.0",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.21",
"morgan": "^1.10.0",
"ng-recaptcha": "^10.0.0",
"ngx-infinite-scroll": "^14.0.1",
"ngx-toastr": "^15.2.2",
"rxjs": "~7.5.7",
"swiper": "^8.4.5",
"tslib": "^2.4.1",
"typeface-roboto": "^1.1.13",
"typeface-roboto-condensed": "^1.1.13",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^14.1.0",
"@angular-devkit/build-angular": "^14.2.10",
"@angular-eslint/builder": "^14.4.0",
"@angular-eslint/eslint-plugin": "^14.4.0",
"@angular-eslint/eslint-plugin-template": "^14.4.0",
"@angular-eslint/schematics": "^14.4.0",
"@angular-eslint/template-parser": "^14.4.0",
"@angular/cli": "^14.2.10",
"@angular/compiler-cli": "^14.2.12",
"@angular/language-service": "^14.2.12",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@compodoc/compodoc": "^1.1.19",
"@cspell/dict-de-de": "1.1.32",
"@cspell/dict-fr-fr": "^2.1.1",
"@ngrx/eslint-plugin": "^14.3.2",
"@nguniversal/builders": "^14.2.3",
"@phenomnomnominal/tsquery": "^5.0.0",
"@schematics/angular": "^14.2.10",
"@types/eslint": "^8.4.10",
"@types/estree": "^1.0.0",
"@types/express": "^4.17.14",
"@types/google.maps": "^3.51.0",
"@types/jest": "^28.1.8",
"@types/lodash-es": "^4.17.6",
"@types/node": "^16.18.8",
"@types/uuid": "^9.0.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"comment-json": "^4.2.3",
"conventional-changelog-cli": "^2.2.2",
"cspell": "^6.17.0",
"cz-customizable": "^7.0.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-etc": "^2.0.2",
"eslint-plugin-ish-custom-rules": "file:eslint-rules",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-rxjs": "^5.0.2",
"eslint-plugin-rxjs-angular": "^2.0.0",
"eslint-plugin-unicorn": "^45.0.2",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.2",
"intershop-schematics": "file:schematics",
"jasmine-marbles": "^0.9.2",
"jest": "^28.1.3",
"jest-extended": "^3.1.0",
"jest-jasmine2": "^29.1.2",
"jest-preset-angular": "^12.2.2",
"json-schema-to-typescript": "^11.0.2",
"lint-staged": "^13.1.0",
"ng-mocks": "^14.5.0",
"npm-run-all": "^4.1.5",
"pm2": "^5.2.2",
"prettier": "^2.7.1",
"prom-client": "^14.1.0",
"purgecss-webpack-plugin": "^5.0.0",
"sort-json": "^2.0.1",
"stylelint": "^14.16.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-recess-order": "^3.0.0",
"stylelint-config-recommended-scss": "^8.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.3.0",
"treeify": "^1.1.0",
"ts-mockito": "^2.6.1",
"ts-morph": "^16.0.0",
"ts-node": "~10.9.1",
"typescript": "~4.8.4",
"xliff": "^6.1.0"
},
"overrides": {
"@ng-bootstrap/ng-bootstrap": {
"@angular/common": "^13.0.0 || ^14.0.0",
"@angular/core": "^13.0.0 || ^14.0.0",
"@angular/forms": "^13.0.0 || ^14.0.0",
"@angular/localize": "^13.0.0 || ^14.0.0"
},
"uuid": "^8.3.2"
},
"lint-staged": {
"docs/**/*.md": [
"node docs/check-kb-labels",
"node docs/check-dead-links.mjs fast",
"node docs/check-documentation-overview",
"node docs/check-sentence-newline",
"cspell lint --no-summary --no-progress"
],
"*.{scss,css}": [
"stylelint --fix"
],
"*": [
"prettier --loglevel warn --write"
],
"*.{html,js,mjs}": [
"eslint --fix"
],
"*.ts": [
"eslint --fix",
"jest --ci --bail --findRelatedTests --passWithNoTests"
],
"src/assets/i18n/*.json": [
"sort-json --indent-size=2"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-leading-blank": [
2,
"always"
],
"body-max-line-length": [
2,
"always",
400
],
"footer-leading-blank": [
2,
"always"
],
"footer-max-line-length": [
2,
"always",
400
],
"header-max-length": [
2,
"always",
200
],
"type-enum": [
2,
"always",
[
"feat",
"fix",
"perf",
"docs",
"style",
"i18n",
"refactor",
"test",
"build",
"deps",
"ci",
"chore",
"temp"
]
]
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"active-themes": "b2b,b2c"
}
}