- Lazy-load Home in App.tsx so three/@react-three/fiber (~238 kB gzip) only ships to the Home route, not to Shop/Book/Rules. - Add max-width: 260px to ProductCard/ServiceCard so real images won't collapse Home/Book grid layouts. - Restore AnimatePresence mode="wait" in Book.tsx to eliminate the exit/enter double-stack during step transitions, updating the three Book.test.tsx assertions that raced the transition to findBy* queries. - Hero3DScene: drop the meaningless "static" className string in favor of a dedicated data-testid, add aria-hidden to the reduced-motion fallback branch, and remove the unused @react-three/drei dependency (adding @types/three directly since it was only present transitively via drei).
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "braids_by_mira",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@react-three/fiber": "^9.7.0",
|
|
"framer-motion": "^12.43.0",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"react-router-dom": "^7.18.2",
|
|
"three": "^0.185.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@testing-library/jest-dom": "^7.0.0",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^24.13.3",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/three": "^0.185.3",
|
|
"@vitejs/plugin-react": "^6.0.4",
|
|
"eslint": "^10.8.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.3",
|
|
"globals": "^17.7.0",
|
|
"jsdom": "^30.0.1",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.65.0",
|
|
"vite": "^8.2.0",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|