forked from intershop/intershop-pwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
277 lines (277 loc) · 9.53 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
{
"name": "intershop-pwa",
"description": "Intershop Progressive Web App",
"version": "4.1.0",
"license": "Intershop Standard Software End User License Agreement Intershop 7",
"keywords": [
"intershop"
],
"engines": {
"node": "18.16.0",
"npm": "9.5.1"
},
"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": "^15.2.8",
"@angular/animations": "^15.2.9",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/localize": "^15.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/platform-server": "^15.2.9",
"@angular/router": "^15.2.9",
"@angular/service-worker": "^15.2.9",
"@fortawesome/angular-fontawesome": "^0.12.1",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@googlemaps/js-api-loader": "^1.16.1",
"@ng-bootstrap/ng-bootstrap": "^11.0.1",
"@ngrx/effects": "^15.4.0",
"@ngrx/entity": "^15.4.0",
"@ngrx/router-store": "^15.4.0",
"@ngrx/store": "^15.4.0",
"@ngrx/store-devtools": "^15.4.0",
"@nguniversal/express-engine": "^15.2.1",
"@ngx-formly/core": "6.1.4",
"@ngx-translate/core": "^14.0.0",
"@rx-angular/state": "^15.0.0",
"@sentry/browser": "^7.54.0",
"angular-oauth2-oidc": "^15.0.1",
"angulartics2": "^12.2.0",
"bootstrap": "^4.6.2",
"date-fns": "^2.30.0",
"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": "^11.0.0",
"ngx-infinite-scroll": "^15.0.0",
"ngx-toastr": "^16.2.0",
"pm2": "^5.3.0",
"rxjs": "~7.8.1",
"swiper": "^8.4.7",
"tslib": "^2.5.3",
"typeface-roboto": "^1.1.13",
"typeface-roboto-condensed": "^1.1.13",
"zone.js": "~0.12.0"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^15.0.0",
"@angular-devkit/build-angular": "^15.2.8",
"@angular-eslint/builder": "^15.2.0",
"@angular-eslint/eslint-plugin": "^15.2.0",
"@angular-eslint/eslint-plugin-template": "^15.2.0",
"@angular-eslint/schematics": "^15.2.0",
"@angular-eslint/template-parser": "^15.2.0",
"@angular/cli": "15.2.6",
"@angular/compiler-cli": "^15.2.9",
"@angular/language-service": "^15.2.9",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@compodoc/compodoc": "^1.1.21",
"@cspell/dict-de-de": "1.1.32",
"@cspell/dict-fr-fr": "^2.2.1",
"@ngrx/eslint-plugin": "^15.4.0",
"@nguniversal/builders": "^15.2.1",
"@phenomnomnominal/tsquery": "^5.0.1",
"@schematics/angular": "^15.2.8",
"@types/eslint": "^8.40.1",
"@types/estree": "^1.0.1",
"@types/express": "^4.17.16",
"@types/express-serve-static-core": "^4.17.35",
"@types/google.maps": "^3.53.4",
"@types/jest": "^29.5.2",
"@types/lodash-es": "^4.17.7",
"@types/node": "^18.16.17",
"@types/uuid": "^9.0.2",
"@types/webpack": "^5.28.1",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"comment-json": "^4.2.3",
"conventional-changelog-cli": "^3.0.0",
"cspell": "^6.31.1",
"cz-customizable": "^7.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-ish-custom-rules": "file:eslint-rules",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^46.2.6",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-rxjs": "^5.0.3",
"eslint-plugin-rxjs-angular": "^2.0.1",
"eslint-plugin-unicorn": "^47.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"intershop-schematics": "file:schematics",
"jasmine-marbles": "^0.9.2",
"jest": "^29.5.0",
"jest-extended": "^4.0.0",
"jest-jasmine2": "^29.5.0",
"jest-preset-angular": "^13.1.1",
"json-schema-to-typescript": "^13.0.2",
"lint-staged": "^13.2.2",
"ng-mocks": "^14.11.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prom-client": "^14.2.0",
"purgecss-webpack-plugin": "^5.0.0",
"sort-json": "^2.0.1",
"stylelint": "^15.7.0",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-recommended-scss": "^12.0.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-prettier": "^3.0.0",
"stylelint-scss": "^5.0.1",
"treeify": "^1.1.0",
"ts-jest": "^29.1.0",
"ts-mockito": "^2.6.1",
"ts-morph": "^18.0.0",
"ts-node": "~10.9.1",
"typescript": "~4.9.5",
"xliff": "^6.1.0"
},
"overrides": {
"@ng-bootstrap/ng-bootstrap": {
"@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0",
"@angular/core": "^13.0.0 || ^14.0.0 || ^15.0.0",
"@angular/forms": "^13.0.0 || ^14.0.0 || ^15.0.0",
"@angular/localize": "^13.0.0 || ^14.0.0 || ^15.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"
}
}