-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
99 lines (99 loc) · 3.46 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
{
"name": "builder-demo",
"version": "0.0.1",
"license": "See license in LICENSE",
"private": true,
"engines": {
"node": "^14.0.0",
"npm": "^6.14.4 || ^7.0.0 || ^8.0.0"
},
"devDependencies": {
"@chakra-ui/icons": "^1.0.6",
"@chakra-ui/react": "^1.7.1",
"@chakra-ui/skip-nav": "^1.1.4",
"@emotion/react": "^11.1.5",
"@emotion/styled": "^11.1.5",
"@formatjs/cli": "^4.2.27",
"@lerna/child-process": "^3.3.0",
"@lhci/cli": "^0.7.0",
"@loadable/component": "^5.15.0",
"@peculiar/webcrypto": "^1.3.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^12.8.1",
"base64-arraybuffer": "^0.2.0",
"bundlesize2": "^0.0.30",
"card-validator": "^8.1.0",
"chalk": "1.1.3",
"commerce-sdk-isomorphic": "^1.5.2",
"core-js": "2.4.0",
"cross-env": "^5.2.0",
"cross-fetch": "^3.1.5",
"focus-visible": "^5.2.0",
"framer-motion": "^3.7.0",
"full-icu": "^1.3.1",
"helmet": "^4.6.0",
"hoist-non-react-statics": "^3.3.2",
"jest-fetch-mock": "^2.1.2",
"js-cookie": "^3.0.1",
"jwt-decode": "^3.1.2",
"msw": "^0.28.1",
"nanoid": "^3.1.31",
"njwt": "^1.2.0",
"node-fetch": "^2.6.7",
"prop-types": "^15.6.0",
"pwa-kit-dev": "2.1.0",
"pwa-kit-react-sdk": "2.1.0",
"pwa-kit-runtime": "2.1.0",
"query-string": "^7.0.1",
"raf": "^3.4.0",
"randomstring": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-hook-form": "^6.15.5",
"react-intl": "^5.13.1",
"react-router-dom": "^5.1.2",
"whatwg-fetch": "1.0.0"
},
"scripts": {
"analyze-build": "cross-env MOBIFY_ANALYZE=true npm run build",
"build-translations": "npm run extract-default-translations && npm run compile-translations",
"compile-translations": "formatjs compile-folder --ast app/translations app/translations/compiled",
"compile-translations:pseudo": "formatjs compile --ast app/translations/en-US.json --out-file app/translations/compiled/en-XB.json --pseudo-locale en-XB",
"extract-default-translations": "formatjs extract 'app/**/*.{js,jsx}' --out-file app/translations/en-US.json --id-interpolation-pattern [sha512:contenthash:base64:6]",
"format": "pwa-kit-dev format \"**/*.{js,jsx}\"",
"lint": "pwa-kit-dev lint \"**/*.{js,jsx}\"",
"lint:fix": "npm run lint -- --fix",
"build": "npm run build-translations && pwa-kit-dev build",
"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",
"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": "52 kB"
},
{
"path": "build/vendor.js",
"maxSize": "270 kB"
}
],
"browserslist": [
"iOS >= 9.0",
"Android >= 4.4.4",
"last 4 ChromeAndroid versions"
],
"dependencies": {
"@builder.io/react": "^2.0.2-7",
"@builder.io/widgets": "^1.2.22-7",
"cheerio": "^1.0.0-rc.12"
}
}