-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
212 lines (212 loc) · 10.8 KB
/
package.json
File metadata and controls
212 lines (212 loc) · 10.8 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
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
208
209
210
211
212
{
"name": "template-retail-rsc-app",
"version": "0.1.1",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm locales:aggregate-extensions && pnpm generate:cartridge && react-router build",
"bundlesize:test": "cross-env BUNDLES_SIZE_CHECK=true pnpm build",
"bundlesize:analyze": "cross-env BUNDLES_SIZE_ANALYZE=true pnpm build",
"dev": "pnpm locales:aggregate-extensions && sfnext dev",
"dev:debug": "cross-env NODE_OPTIONS=--inspect sfnext dev",
"generate:cartridge": "sfnext generate-cartridge --project-directory ./",
"generate:eslint": "node scripts/generate-eslint-config.js",
"locales:aggregate-extensions": "node scripts/aggregate-extension-locales.js",
"start": "sfnext preview",
"preview": "pnpm start",
"push": "sfnext push --project-directory .",
"typecheck": "node scripts/typecheck-ratchet.js",
"generate:story-tests": "node scripts/generate-story-tests.js",
"test": "vitest run --coverage",
"test:agent": "vitest run --reporter=basic 2>&1 | tail -30",
"test:agent:coverage": "vitest run --coverage --reporter=basic 2>&1 | tail -40",
"generate:story-tests:coverage": "pnpm generate:story-tests && vitest run --coverage --config .storybook/vite.config.ts",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"lint": "cross-env NODE_OPTIONS=--max-old-space-size=8192 eslint . --report-unused-disable-directives --max-warnings 0 --cache",
"lint:fix": "cross-env NODE_OPTIONS=--max-old-space-size=8192 eslint . --fix --cache",
"lint:check-extensions": "node scripts/check-typescript-only.js",
"lint:colors": "cross-env NODE_OPTIONS=--max-old-space-size=8192 eslint src --ext .ts,.tsx,.js,.jsx --rule 'no-restricted-classnames: error' --cache",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build -o .storybook/storybook-static",
"test-storybook:snapshot": "vitest run --config ./.storybook/vite.config.ts",
"test-storybook:snapshot:update": "vitest run -u --config ./.storybook/vite.config.ts",
"test-storybook:snapshot:agent": "vitest run --config ./.storybook/vite.config.ts --reporter=basic 2>&1 | tail -30",
"test-storybook:snapshot:update:agent": "vitest run -u --config ./.storybook/vite.config.ts --reporter=basic 2>&1 | tail -30",
"test-storybook:interaction": "cross-env STORYBOOK_DISABLE_A11Y=true concurrently \"cross-env STORYBOOK_DISABLE_A11Y=true pnpm storybook\" \"wait-on http://127.0.0.1:6006 && sleep 1 && test-storybook --url http://127.0.0.1:6006 --index-json --config-dir .storybook --browsers chromium --maxWorkers 3 --includeTags interaction\" --success first --kill-others",
"test-storybook:interaction:agent": "cross-env STORYBOOK_DISABLE_A11Y=true concurrently --raw \"cross-env STORYBOOK_DISABLE_A11Y=true pnpm storybook\" \"wait-on http://127.0.0.1:6006 && sleep 1 && test-storybook --url http://127.0.0.1:6006 --index-json --config-dir .storybook --browsers chromium --maxWorkers 3 --includeTags interaction\" --success first --kill-others 2>&1 | grep -E '(PASS|FAIL|Test Suites|Tests:)' | tail -20",
"test-storybook:static:interaction": "pnpm build-storybook && cross-env STORYBOOK_DISABLE_A11Y=true concurrently \"cross-env STORYBOOK_DISABLE_A11Y=true npx serve .storybook/storybook-static\" \"wait-on http://127.0.0.1:3000 && sleep 1 && test-storybook --url http://127.0.0.1:3000 --index-json --config-dir .storybook --browsers chromium --maxWorkers 3 --includeTags interaction\" --success first --kill-others",
"test-storybook:a11y": "cross-env STORYBOOK_A11Y_TEST_MODE=error concurrently \"pnpm storybook\" \"wait-on http://127.0.0.1:6006 && sleep 1 && test-storybook --url http://127.0.0.1:6006 --index-json --config-dir .storybook --browsers chromium --maxWorkers 3 --excludeTags skip-a11y\" --success first --kill-others",
"test-storybook:a11y:agent": "cross-env STORYBOOK_A11Y_TEST_MODE=error concurrently --raw \"pnpm storybook\" \"wait-on http://127.0.0.1:6006 && sleep 1 && test-storybook --url http://127.0.0.1:6006 --index-json --config-dir .storybook --browsers chromium --maxWorkers 3 --excludeTags skip-a11y\" --success first --kill-others 2>&1 | grep -E '(PASS|FAIL|Test Suites|Tests:|violations)' | tail -20",
"test-storybook:static:a11y": "pnpm build-storybook && cross-env STORYBOOK_A11Y_TEST_MODE=error concurrently \"npx serve .storybook/storybook-static\" \"wait-on http://127.0.0.1:3000 && sleep 1 && test-storybook --url http://127.0.0.1:3000 --index-json --config-dir .storybook --browsers chromium --maxWorkers 3 --excludeTags skip-a11y\" --success first --kill-others",
"lighthouse:ci": "lhci autorun"
},
"dependencies": {
"@hookform/resolvers": "5.2.2",
"@icons-pack/react-simple-icons": "13.7.0",
"@radix-ui/react-accordion": "1.2.12",
"@radix-ui/react-alert-dialog": "1.1.15",
"@radix-ui/react-aspect-ratio": "1.1.7",
"@radix-ui/react-avatar": "1.1.10",
"@radix-ui/react-checkbox": "1.3.3",
"@radix-ui/react-dialog": "1.1.15",
"@radix-ui/react-dropdown-menu": "2.1.16",
"@radix-ui/react-label": "2.1.7",
"@radix-ui/react-navigation-menu": "1.2.14",
"@radix-ui/react-popover": "1.1.15",
"@radix-ui/react-radio-group": "1.3.8",
"@radix-ui/react-select": "2.2.6",
"@radix-ui/react-separator": "1.1.8",
"@radix-ui/react-switch": "1.2.2",
"@radix-ui/react-slot": "1.2.3",
"@radix-ui/react-tooltip": "1.2.8",
"@react-router/node": "7.12.0",
"@salesforce/storefront-next-dev": "0.1.1",
"@salesforce/storefront-next-runtime": "0.1.1",
"@vis.gl/react-google-maps": "1.7.1",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"core-js": "3.45.1",
"embla-carousel-react": "8.6.0",
"express": "4.21.2",
"i18next": "25.5.3",
"i18next-browser-languagedetector": "8.2.0",
"input-otp": "1.4.2",
"isbot": "5.1.31",
"jose": "6.1.0",
"js-cookie": "3.0.5",
"lodash.debounce": "4.0.8",
"lucide-react": "0.544.0",
"nanoid": "5.1.6",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-hook-form": "7.63.0",
"react-i18next": "16.0.0",
"react-router": "7.12.0",
"reflect-metadata": "0.2.2",
"remix-i18next": "7.4.2",
"sonner": "2.0.7",
"tailwind-merge": "3.3.1",
"tailwindcss": "4.1.13",
"vaul": "1.1.2",
"zod": "4.1.11",
"zustand": "5.0.8"
},
"engines": {
"node": ">=24.0.0"
},
"devDependencies": {
"@chromatic-com/storybook": "4.1.2",
"@eslint/compat": "1.3.2",
"@eslint/js": "9.34.0",
"@lhci/cli": "0.15.1",
"@react-router/dev": "7.12.0",
"@react-router/express": "7.12.0",
"@react-router/fs-routes": "7.12.0",
"@storybook/addon-a11y": "10.0.6",
"@storybook/addon-docs": "10.0.6",
"@storybook/addon-vitest": "10.0.6",
"@storybook/builder-vite": "10.0.6",
"@storybook/react-vite": "10.0.6",
"@storybook/test-runner": "0.24.1",
"@tailwindcss/vite": "4.1.13",
"@testing-library/jest-dom": "6.8.0",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"@types/express": "4.17.25",
"@types/js-cookie": "3.0.6",
"@types/lodash.debounce": "4.0.9",
"@types/react": "19.1.13",
"@types/react-dom": "19.1.9",
"@vitejs/plugin-react": "5.0.3",
"@vitest/browser": "4.0.18",
"@vitest/coverage-v8": "4.0.18",
"@vitest/ui": "4.0.18",
"compression": "1.8.1",
"concurrently": "^9.1.2",
"cross-env": "10.0.0",
"dotenv": "17.2.2",
"eslint": "9.34.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-headers": "1.3.3",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsonc": "2.21.0",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-react-refresh": "0.4.20",
"eslint-plugin-storybook": "10.0.6",
"express": "4.21.2",
"get-port": "7.1.0",
"globals": "16.3.0",
"http-proxy-middleware": "3.0.5",
"jsdom": "27.4.0",
"morgan": "1.10.1",
"msw": "2.11.3",
"playwright": "1.55.1",
"prettier": "3.6.2",
"rollup-plugin-visualizer": "6.0.4",
"source-map-support": "0.5.21",
"storybook": "10.0.6",
"tw-animate-css": "1.4.0",
"typescript-eslint": "8.44.0",
"vite": "7.1.7",
"vite-plugin-bundlesize": "0.3.0",
"vite-plugin-devtools-json": "1.0.0",
"vite-tsconfig-paths": "5.1.4",
"vitest": "4.0.18",
"wait-on": "^8.0.1"
},
"volta": {
"node": "24.13.0",
"pnpm": "10.28.0"
},
"bundlesize": {
"server": [
{
"name": "**/*",
"limit": "5 mB"
}
],
"client": [
{
"name": "assets/\\(package\\)-\\(@react-router-dev\\)-\\(dist\\)-\\(config\\)-\\(defaults\\)-entry.client.*.js",
"limit": "191 kB"
},
{
"name": "assets/\\(package\\)-\\(react-router\\)-\\(dist\\)-\\(development\\)-chunk*.js",
"limit": "135 kB"
},
{
"name": "assets/\\(package\\)-\\(zod\\)-\\(v4\\)-\\(classic\\)-schemas.*.js",
"limit": "55 kB"
},
{
"name": "assets/\\(components\\)-\\(order-summary\\)-index.*.js",
"limit": "65 kB"
},
{
"name": "assets/\\(components\\)-\\(product-items-list\\)-index.*.js",
"limit": "55 kB"
},
{
"name": "assets/\\(routes\\)-_app.*.js",
"limit": "58 kB"
},
{
"name": "assets/\\(package\\)-\\(@radix-ui-react-visually-hidden\\)-\\(dist\\)-index.*.js",
"limit": "55 kB"
},
{
"name": "assets/\\(components\\)-\\(product-view\\)-child-products.*.js",
"limit": "70 kB",
"comment": "Child products component includes Radix UI menu and dropdown dependencies for variant selection"
},
{
"name": "**/*",
"limit": "50 kB",
"comment": "For every built JS chunk that exceeds the baseline limit, you must explicitly approve it above. We must try our best to minimize the bundle size. These are uncompressed numbers (before gzip/brotli)."
}
]
}
}