-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
185 lines (185 loc) · 8.79 KB
/
package.json
File metadata and controls
185 lines (185 loc) · 8.79 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
{
"name": "template-retail-rsc-app",
"version": "0.2.0-dev",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm locales:aggregate-extensions && 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",
"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",
"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: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: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: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": "node scripts/lighthouse-check-port.js && lhci autorun",
"upgrade:shadcn": "node scripts/upgrade-shadcn.js"
},
"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-slot": "1.2.3",
"@radix-ui/react-tooltip": "1.2.8",
"@react-router/node": "7.12.0",
"@salesforce/storefront-next-dev": "workspace:*",
"@salesforce/storefront-next-runtime": "workspace:*",
"@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.4.0",
"tailwindcss": "4.1.18",
"vaul": "1.1.2",
"zod": "4.1.11"
},
"devDependencies": {
"@chromatic-com/storybook": "4.1.2",
"@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.18",
"@testing-library/jest-dom": "6.8.0",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"@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": "3.2.4",
"@vitest/coverage-v8": "3.2.4",
"@vitest/ui": "3.2.4",
"compression": "1.8.1",
"concurrently": "^9.1.2",
"cross-env": "10.0.0",
"dotenv": "17.2.2",
"eslint-plugin-storybook": "10.0.6",
"express": "4.21.2",
"get-port": "7.1.0",
"http-proxy-middleware": "3.0.5",
"jsdom": "27.0.0",
"morgan": "1.10.1",
"msw": "2.11.3",
"playwright": "1.55.1",
"rollup-plugin-visualizer": "6.0.4",
"source-map-support": "0.5.21",
"storybook": "10.0.6",
"tw-animate-css": "1.4.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": "3.2.4",
"wait-on": "^8.0.1"
},
"volta": {
"node": "24.6.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": "128 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/-root.*.js",
"limit": "113 kB"
},
{
"name": "assets/\\(package\\)-\\(@radix-ui-react-visually-hidden\\)-\\(dist\\)-index.*.js",
"limit": "55 kB"
},
{
"name": "assets/\\(components\\)-\\(product-view\\)-child-products.*.js",
"limit": "64 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)."
}
]
}
}