-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
64 lines (63 loc) · 2.73 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
{
"name": "adyen-salesforce-pwa-headless-demo",
"version": "1.0.0",
"license": "See license in LICENSE",
"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.3.0",
"css-loader": "^6.8.1",
"dotenv": "^16.3.1",
"style-loader": "^3.3.3"
},
"dependencies": {
"@adyen/adyen-salesforce-pwa": "1.2.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": "npm run compile-translations && npm run compile-translations:pseudo",
"push": "npm run build && pwa-kit-dev push",
"save-credentials": "pwa-kit-dev save-credentials",
"start": "cross-env NODE_ICU_DATA=node_modules/full-icu pwa-kit-dev 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": "pwa-kit-dev tail-logs",
"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",
"upload-env": "upload-env",
"get-env": "get-env",
"prepare:dev": "rm -f ./node_modules/.bin/include-env && rm -rf ./node_modules/@adyen/adyen-salesforce-pwa && cd ../adyen-salesforce-pwa && rm -rf dist && npm run build-dev",
"start:env": "include-env -p=npm run start",
"push:env": "include-env -p=npm run push"
},
"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"
]
}