forked from SAP/spartacus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
207 lines (207 loc) · 11.7 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
{
"name": "storefrontapp",
"version": "3.0.0",
"license": "Apache-2.0",
"author": "SAP, Spartacus team",
"engines": {
"node": ">=12 <17"
},
"scripts": {
"build": "env-cmd --no-override -e dev,b2c,$SPA_ENV ng build storefrontapp --prod",
"build:asm": "yarn --cwd feature-libs/asm run build:schematics && ng build asm --prod",
"build:user": "yarn --cwd feature-libs/user run build:schematics && ng build user --prod",
"build:assets": "yarn --cwd ./projects/assets build",
"build:cart": "yarn --cwd feature-libs/cart run build:schematics && ng build cart --prod",
"build:cdc": "yarn --cwd integration-libs/cdc run build:schematics && ng build cdc --prod",
"build:cds": "yarn --cwd integration-libs/cds run build:schematics && ng build cds --prod",
"build:libs": "yarn ngcc:lock:remove && ng build core --prod && ng build storefrontlib --prod && yarn build:schematics && yarn build:user && 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:cart yarn:build:assets yarn:build:incubator yarn:build:cdc yarn:build:cds yarn:build:setup",
"build:incubator": "ng build incubator --prod",
"build:organization": "yarn --cwd feature-libs/organization run build:schematics && ng build organization --prod",
"build:product": "yarn --cwd feature-libs/product run build:schematics && ng build product --prod",
"build:product-configurator": "yarn --cwd feature-libs/product-configurator run build:schematics && ng build product-configurator --prod",
"build:qualtrics": "yarn --cwd feature-libs/qualtrics run build:schematics && ng build qualtrics --prod",
"build:schematics": "yarn --cwd projects/schematics run build",
"build:setup": "ng build setup --prod",
"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 --prod",
"build:smartedit": "yarn --cwd feature-libs/smartedit run build:schematics && ng build smartedit --prod",
"build:tracking": "yarn --cwd feature-libs/tracking run build:schematics && ng build tracking --prod",
"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:run": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run",
"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: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-configuration",
"e2e:run:ci:cdc": "yarn --cwd ./projects/storefrontapp-e2e-cypress run cy:run:ci:cdc",
"generate:changelog": "ts-node ./scripts/changelog.ts",
"generate:docs": "npx @compodoc/compodoc -p tsconfig.compodoc.json && ./scripts/zip-docs.sh",
"generate:publish:docs": "yarn generate:docs && yarn publish:docs",
"i18n-lint": "i18n-lint -t \"{{,}}\" projects/storefrontlib/src/**/*.html feature-libs/**/*.html --exclude **/node_modules/**/*.html",
"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:prod": "env-cmd --no-override -e dev,b2c,$SPA_ENV ng serve --prod",
"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 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\"",
"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: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",
"ngcc:lock:remove": "rm -rf ./node_modules/.cli-ngcc/*.lock",
"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:cdc:with-changelog": "cd integration-libs/cdc && release-it && cd ../..",
"release:cds:with-changelog": "cd integration-libs/cds && 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": "^10.2.4",
"@angular/common": "^10.2.4",
"@angular/compiler": "^10.2.4",
"@angular/core": "^10.2.4",
"@angular/forms": "^10.2.4",
"@angular/platform-browser": "^10.2.4",
"@angular/platform-browser-dynamic": "^10.2.4",
"@angular/platform-server": "^10.2.4",
"@angular/pwa": "^0.1001.0",
"@angular/router": "^10.2.4",
"@angular/service-worker": "^10.2.4",
"@ng-bootstrap/ng-bootstrap": "^7.0.0",
"@ng-select/ng-select": "^5.0.9",
"@ngrx/effects": "^10.0.0",
"@ngrx/router-store": "^10.0.0",
"@ngrx/store": "^10.0.0",
"@nguniversal/express-engine": "^10.1.0",
"@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.0.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^10.0.0",
"@angular-builders/dev-server": "^7.3.1",
"@angular-devkit/build-angular": "^0.1002.1",
"@angular-devkit/build-ng-packagr": "~0.1002.1",
"@angular-devkit/core": "10.2.1",
"@angular-devkit/schematics": "^10.2.1",
"@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": "^10.2.1",
"@angular/compiler-cli": "^10.2.4",
"@angular/language-service": "^10.2.4",
"@ngrx/store-devtools": "^10.0.0",
"@nguniversal/builders": "^10.1.0",
"@schematics/angular": "10.2.1",
"@types/ejs": "^3.0.6",
"@types/express": "^4.17.0",
"@types/fs-extra": "^9.0.7",
"@types/i18next": "^12.1.0",
"@types/jasmine": "~3.5.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",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage": "^2.0.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"karma-junit-reporter": "^1.2.0",
"ng-packagr": "^10.1.1",
"npm-package-versions": "^1.0.1",
"postcss": "^8.2.10",
"postcss-scss": "^3.0.4",
"prettier": "~2.2.1",
"release-it": "^14.2.2",
"rimraf": "^3.0.2",
"sass": "^1.22.10",
"semver": "^6.3.0",
"semver-extra": "^3.0.0",
"shelljs": "^0.8.3",
"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.0.2",
"webpack-cli": "^3.3.12"
}
}