-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 3.02 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
{
"name": "fcecom-b2c-commerce-react-preview",
"version": "1.3.1",
"license": "See license in LICENSE",
"private": true,
"engines": {
"node": "^16.0.0 || ^18.0.0",
"npm": "^7.0.0 || ^8.0.0 || ^9.0.0"
},
"ccExtensibility": {
"extends": "@salesforce/retail-react-app",
"overridesDir": "overrides"
},
"devDependencies": {
"@salesforce/retail-react-app": "2.1.1",
"dotenv-cli": "^7.3.0",
"dotenv-webpack": "^8.0.1",
"patch-package": "^8.0.0"
},
"scripts": {
"analyze-build": "cross-env MOBIFY_ANALYZE=true npm run build",
"build": "npm run build-translations && pwa-kit-dev build",
"build-translations": "npm run extract-default-translations && npm run compile-translations",
"compile-translations": "node ./node_modules/@salesforce/retail-react-app/scripts/translations/compile-folder.js translations",
"compile-translations:pseudo": "node ./node_modules/@salesforce/retail-react-app/scripts/translations/compile-pseudo.js translations/en-US.json",
"extract-default-translations": "node ./node_modules/@salesforce/retail-react-app/scripts/translations/extract-default-messages.js en-US",
"format": "pwa-kit-dev format \"**/*.{js,jsx}\"",
"lint": "pwa-kit-dev lint \"**/*.{js,jsx}\"",
"lint:fix": "npm run lint -- --fix",
"postinstall": "patch-package && npm run compile-translations && npm run compile-translations:pseudo",
"push": "npm run build && pwa-kit-dev push --projectSlug <PROJECT_ID>",
"push+deploy": "EXTERNAL_DOMAIN_NAME=<EXTERNAL_DOMAIN_NAME> LISTEN_ADDRESS=<LISTEN_ADDRESS> npm run push -- --target <ENVIRONMENT_ID>",
"save-credentials": "dotenv -- pwa-kit-dev save-credentials",
"start": "dotenv -- cross-env NODE_ICU_DATA=node_modules/full-icu pwa-kit-dev start",
"start:stable": "HMR=false npm run start",
"start:inspect": "npm run start -- --inspect",
"start:pseudolocale": "npm run extract-default-translations && npm run compile-translations:pseudo && cross-env USE_PSEUDOLOCALE=true npm run start",
"tail-logs": "dotenv -- pwa-kit-dev tail-logs --project fcecom-salesforce-pw",
"test": "pwa-kit-dev test",
"test:lighthouse": "cross-env NODE_ENV=production lhci autorun --config=tests/lighthouserc.js",
"test:max-file-size": "npm run build && bundlesize"
},
"bundlesize": [
{
"path": "build/main.js",
"maxSize": "42 kB"
},
{
"path": "build/vendor.js",
"maxSize": "320 kB"
}
],
"browserslist": [
"iOS >= 9.0",
"Android >= 4.4.4",
"last 4 ChromeAndroid versions"
],
"dependencies": {
"dotenv": "^16.3.1",
"fcecom-frontend-api-client": "^1.4.3",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react-object-view": "^0.3.4",
"react-player": "^2.13.0",
"react-router-dom": "^5.3.4",
"recoil": "^0.7.7"
}
}