-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.17 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 2.17 KB
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
{
"name": "demo-storefront",
"version": "0.0.1",
"license": "See license in LICENSE",
"engines": {
"node": "^18.0.0 || ^20.0.0 || ^22.0.0",
"npm": "^9.0.0 || ^10.0.0 || ^11.0.0"
},
"ccExtensibility": {
"extends": "@salesforce/retail-react-app",
"overridesDir": "overrides"
},
"devDependencies": {
"@salesforce/retail-react-app": "8.1.0"
},
"scripts": {
"lint": "pwa-kit-dev lint \"**/*.{js,jsx}\"",
"push": "npm run build && pwa-kit-dev push",
"test": "pwa-kit-dev test",
"build": "npm run build-translations && pwa-kit-dev build",
"start": "cross-env NODE_ICU_DATA=node_modules/full-icu pwa-kit-dev start",
"format": "pwa-kit-dev format \"**/*.{js,jsx}\"",
"lint:fix": "npm run lint -- --fix",
"tail-logs": "pwa-kit-dev tail-logs",
"postinstall": "npm run compile-translations && npm run compile-translations:pseudo",
"analyze-build": "cross-env MOBIFY_ANALYZE=true npm run build",
"start:inspect": "npm run start -- --inspect",
"test:lighthouse": "cross-env NODE_ENV=production lhci autorun --config=tests/lighthouserc.js",
"save-credentials": "pwa-kit-dev save-credentials",
"build-translations": "npm run extract-default-translations && npm run compile-translations && npm run compile-translations:pseudo",
"start:pseudolocale": "npm run extract-default-translations && npm run compile-translations:pseudo && cross-env USE_PSEUDOLOCALE=true npm run start",
"test:max-file-size": "npm run build && bundlesize",
"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 en-GB"
},
"bundlesize": [
{
"path": "build/main.js",
"maxSize": "44 kB"
},
{
"path": "build/vendor.js",
"maxSize": "320 kB"
}
],
"browserslist": [
"iOS >= 9.0",
"Android >= 4.4.4",
"last 4 ChromeAndroid versions"
]
}