forked from SAP/spartacus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
220 lines (220 loc) · 13.6 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
{
"name": "storefrontapp",
"version": "0.0.0",
"license": "Apache-2.0",
"author": "SAP, Spartacus team",
"engines": {
"node": ">=12 <17"
},
"scripts": {
"build:analyze": "yarn build --stats-json && npx --yes webpack-bundle-analyzer dist/storefrontapp/stats.json",
"build": "env-cmd --no-override -e dev,b2c,$SPA_ENV ng build storefrontapp --configuration production",
"build:asm": "yarn --cwd feature-libs/asm run build:schematics && ng build asm --configuration production",
"build:user": "yarn --cwd feature-libs/user run build:schematics && ng build user --configuration production",
"build:assets": "yarn --cwd ./projects/assets build",
"build:cart": "yarn --cwd feature-libs/cart run build:schematics && ng build cart --configuration production",
"build:cdc": "yarn --cwd integration-libs/cdc run build:schematics && ng build cdc --configuration production",
"build:cds": "yarn --cwd integration-libs/cds run build:schematics && ng build cds --configuration production",
"build:checkout": "yarn --cwd feature-libs/checkout run build:schematics && ng build checkout --configuration production",
"build:digital-payments": "yarn --cwd integration-libs/digital-payments run build:schematics && ng build digital-payments --configuration production",
"build:order": "yarn --cwd feature-libs/order run build:schematics && ng build order --configuration production",
"build:libs": "ng build core --configuration production && ng build storefrontlib --configuration production && yarn build:schematics && yarn build:user && yarn build:cart && yarn build:order && yarn build:checkout && yarn build:asm && yarn build:tracking && concurrently --kill-others-on-fail -m 4 yarn:build:organization yarn:build:product yarn:build:product-configurator yarn:build:storefinder yarn:build:smartedit yarn:build:qualtrics yarn:build:assets yarn:build:incubator yarn:build:cdc yarn:build:cds yarn:build:digital-payments && yarn build:setup",
"build:incubator": "ng build incubator --configuration production",
"build:organization": "yarn --cwd feature-libs/organization run build:schematics && ng build organization --configuration production",
"build:product": "yarn --cwd feature-libs/product run build:schematics && ng build product --configuration production",
"build:product-configurator": "yarn --cwd feature-libs/product-configurator run build:schematics && ng build product-configurator --configuration production",
"build:qualtrics": "yarn --cwd feature-libs/qualtrics run build:schematics && ng build qualtrics --configuration production",
"build:schematics": "yarn --cwd projects/schematics run build",
"build:setup": "ng build setup --configuration production",
"build:ssr": "env-cmd --no-override -e dev,b2c,$SPA_ENV ng run storefrontapp:server:production",
"build:ssr:ci": "env-cmd -e ci,b2c,$SPA_ENV ng run storefrontapp:server:production",
"build:storefinder": "yarn --cwd feature-libs/storefinder run build:schematics && ng build storefinder --configuration production",
"build:smartedit": "yarn --cwd feature-libs/smartedit run build:schematics && ng build smartedit --configuration production",
"build:tracking": "yarn --cwd feature-libs/tracking run build:schematics && ng build tracking --configuration production",
"config:update": "ts-node ./tools/config/index.ts --fix",
"config:check": "ts-node ./tools/config/index.ts",
"generate:deps": "ts-node ./tools/schematics/dependency-collector.ts",
"e2e:open": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:open",
"e2e:open:b2b": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:open:b2b",
"e2e:run": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run",
"e2e:run:b2b": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:b2b",
"e2e:run:core": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:core",
"e2e:run:ci": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci",
"e2e:run:ci:ssr": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:ssr",
"e2e:run:ci:b2b": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:b2b",
"e2e:run:ci:flaky": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:flaky",
"e2e:run:ci:core": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:core",
"e2e:run:ci:core:b2b": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:core:b2b",
"e2e:run:ci:cds": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:cds",
"e2e:run:ci:product-configuration": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:product-configurator-vc",
"e2e:run:ci:cdc": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:cdc",
"e2e:run:ci:digital-payments": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:digital-payments",
"generate:changelog": "ts-node ./scripts/changelog.ts",
"generate:docs": "npx @compodoc/[email protected] -p tsconfig.compodoc.json && ./scripts/zip-docs.sh",
"generate:publish:docs": "yarn generate:docs && yarn publish:docs",
"i18n-lint": "i18n-lint -t \"{{,}}\" projects/storefrontlib/**/*.html feature-libs/**/*.html --exclude **/node_modules/**/*.html -a alt,title,placeholder,aria-label",
"lint": "ng lint",
"lint:styles": "stylelint \"{projects,feature-libs}/**/*.scss\"",
"prettier": "prettier --config ./.prettierrc --list-different \"{projects,feature-libs,core-libs,integration-libs}/**/*{.ts,.js,.json,.scss,.html}\"",
"prettier:fix": "prettier --config ./.prettierrc --list-different \"{projects,feature-libs,core-libs,integration-libs}/**/*{.ts,.js,.json,.scss,.html}\" --write",
"start": "env-cmd --no-override -e dev,b2c,$SPA_ENV ng serve",
"start:b2b": "env-cmd --no-override -e dev,b2b,$SPA_ENV ng serve",
"start:prod": "env-cmd --no-override -e dev,b2c,$SPA_ENV ng serve --configuration production",
"start:pwa": "cd ./dist/storefrontapp/ && http-server --silent --proxy http://localhost:4200? -p 4200",
"test": "ng test",
"test:libs": "concurrently \"ng test core --code-coverage\" \"ng test storefrontlib --code-coverage\" \"ng test cart --code-coverage\" \"ng test organization --code-coverage\" \"ng test storefinder --code-coverage\" \"ng test smartedit --code-coverage\" \"ng test asm --code-coverage\" \"ng test qualtrics --code-coverage\" \"ng test product --code-coverage\" \"ng test product-configurator --code-coverage\" \"ng test cdc --code-coverage\" \"ng test setup --code-coverage\" \"ng test checkout --code-coverage\" \"ng test order --code-coverage\" \"ng test digital-payments --code-coverage\"",
"test:storefront:lib": "ng test storefrontlib --sourceMap --code-coverage",
"dev:ssr": "env-cmd --no-override -e dev,b2c,$SPA_ENV cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 ng run storefrontapp:serve-ssr",
"serve:ssr": "node dist/storefrontapp-server/main.js",
"serve:ssr:ci": "NODE_TLS_REJECT_UNAUTHORIZED=0 SSR_TIMEOUT=0 node dist/storefrontapp-server/main.js",
"serve:ssr:dev": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 node dist/storefrontapp-server/main.js",
"prerender": "ng run storefrontapp:prerender --routesFile projects/storefrontapp/prerender.txt",
"prerender:dev": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 ng run storefrontapp:prerender --routesFile projects/storefrontapp/prerender.txt",
"postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
"release:core:with-changelog": "cd projects/core && release-it && cd ../..",
"release:assets:with-changelog": "cd projects/assets && release-it && cd ../..",
"release:user:with-changelog": "cd feature-libs/user && release-it && cd ../..",
"release:asm:with-changelog": "cd feature-libs/asm && release-it && cd ../..",
"release:styles:with-changelog": "cd projects/storefrontstyles && release-it && cd ../..",
"release:storefront:with-changelog": "cd projects/storefrontlib && release-it && cd ../..",
"release:cart:with-changelog": "cd feature-libs/cart && release-it && cd ../..",
"release:order:with-changelog": "cd feature-libs/order && release-it && cd ../..",
"release:cdc:with-changelog": "cd integration-libs/cdc && release-it && cd ../..",
"release:cds:with-changelog": "cd integration-libs/cds && release-it && cd ../..",
"release:checkout:with-changelog": "cd feature-libs/checkout && release-it && cd ../..",
"release:digital-payments:with-changelog": "cd integration-libs/digital-payments && release-it && cd ../..",
"release:schematics:with-changelog": "cd projects/schematics && release-it && cd ../..",
"release:incubator:with-changelog": "cd projects/incubator && release-it && cd ../..",
"release:setup:with-changelog": "cd core-libs/setup && release-it && cd ../..",
"release:organization:with-changelog": "cd feature-libs/organization && release-it && cd ../..",
"release:product:with-changelog": "cd feature-libs/product && release-it && cd ../..",
"release:storefinder:with-changelog": "cd feature-libs/storefinder && release-it && cd ../..",
"release:smartedit:with-changelog": "cd feature-libs/smartedit && release-it && cd ../..",
"release:product-configurator:with-changelog": "cd feature-libs/product-configurator && release-it && cd ../..",
"release:qualtrics:with-changelog": "cd feature-libs/qualtrics && release-it && cd ../..",
"release:tracking:with-changelog": "cd feature-libs/tracking && release-it && cd ../..",
"prerender:cds": "cross-env SPARTACUS_CDS=true ng run storefrontapp:prerender",
"publish:docs": "gh-pages -d documentation -m \"Compodocs updates\"",
"test:cds:lib": "ng test cds --code-coverage",
"build:cds:ssr": "cross-env SPARTACUS_CDS=true ng run storefrontapp:server:production",
"dev:cds:ssr": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 SPARTACUS_CDS=true ng run storefrontapp:serve-ssr",
"prerender:cds:dev": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 SPARTACUS_CDS=true ng run storefrontapp:prerender --routesFile projects/storefrontapp/prerender.txt"
},
"private": false,
"dependencies": {
"@angular/animations": "^12.0.5",
"@angular/common": "^12.0.5",
"@angular/compiler": "^12.0.5",
"@angular/core": "^12.0.5",
"@angular/forms": "^12.0.5",
"@angular/platform-browser": "^12.0.5",
"@angular/platform-browser-dynamic": "^12.0.5",
"@angular/platform-server": "^12.0.5",
"@angular/pwa": "^12.0.5",
"@angular/router": "^12.0.5",
"@angular/service-worker": "^12.0.5",
"@ng-bootstrap/ng-bootstrap": "^10.0.0",
"@ng-select/ng-select": "^7.0.1",
"@ngrx/effects": "^12.1.0",
"@ngrx/router-store": "^12.1.0",
"@ngrx/store": "^12.1.0",
"@nguniversal/express-engine": "^12.0.2",
"@types/googlemaps": "^3.37.5",
"angular-oauth2-oidc": "^10.0.1",
"bootstrap": "^4.3.1",
"comment-json": "^4.1.0",
"express": "^4.15.2",
"hamburgers": "^1.1.3",
"i18next": "^20.2.2",
"i18next-http-backend": "^1.2.2",
"ngx-infinite-scroll": "^8.0.0",
"parse5": "^6.0.1",
"rxjs": "^6.6.0",
"ts-loader": "^6.0.4",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^12.1.0",
"@angular-builders/dev-server": "^7.3.1",
"@angular-devkit/build-angular": "^12.0.5",
"@angular-devkit/core": "^12.0.5",
"@angular-devkit/schematics": "^12.0.5",
"@angular-eslint/builder": "^1.2.0",
"@angular-eslint/eslint-plugin": "^1.2.0",
"@angular-eslint/eslint-plugin-template": "^1.2.0",
"@angular-eslint/schematics": "^1.2.0",
"@angular-eslint/template-parser": "^1.2.0",
"@angular/cli": "^12.0.5",
"@angular/compiler-cli": "^12.0.5",
"@angular/language-service": "^12.0.5",
"@ngrx/store-devtools": "^12.1.0",
"@nguniversal/builders": "^12.0.2",
"@schematics/angular": "^12.0.5",
"@types/ejs": "^3.0.6",
"@types/express": "^4.17.0",
"@types/fs-extra": "^9.0.7",
"@types/i18next": "^12.1.0",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/jest": "^26.0.19",
"@types/node": "^12.11.1",
"@types/parse5": "^5.0.3",
"@types/semver": "6",
"@types/shelljs": "^0.8.7",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"chalk": "^4.1.0",
"commander": "^3.0.0",
"concurrently": "^5.3.0",
"conventional-commits-parser": "^3.0.1",
"core-js": "^3.2.1",
"cross-env": "^7.0.0",
"ejs": "^2.6.2",
"enquirer": "^2.3.6",
"env-cmd": "^10.1.0",
"eslint": "^7.6.0",
"eslint-plugin-deprecation": "^1.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.6",
"eslint-plugin-prefer-arrow": "^1.2.2",
"faker": "^4.1.0",
"fs-extra": "^9.0.1",
"gh-got": "^8.0.1",
"gh-pages": "^2.1.1",
"git-raw-commits": "^2.0.0",
"glob": "^7.1.6",
"http-server": "^0.12.3",
"i18n-lint": "^1.0.0",
"jasmine-core": "~3.6.0",
"jasmine-marbles": "^0.6.0",
"jest": "^26.6.3",
"jsonc-parser": "^3.0.0",
"karma": "~6.3.4",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"karma-parallel": "^0.3.1",
"ng-packagr": "^12.0.8",
"npm-package-versions": "^1.0.1",
"postcss": "^8.2.13",
"postcss-scss": "^3.0.4",
"prettier": "~2.4.1",
"release-it": "^14.10.0",
"rimraf": "^3.0.2",
"sass": "^1.22.10",
"semver": "^6.3.0",
"semver-extra": "^3.0.0",
"shelljs": "^0.8.5",
"stylelint": "^13.7.2",
"stylelint-scss": "^3.18.0",
"through2": "^3.0.1",
"ts-jest": "^26.4.4",
"ts-morph": "^9.1.0",
"ts-node": "~8.3.0",
"typescript": "^4.2.4",
"webpack-cli": "^3.3.12"
}
}