The brief's literal script copies source fields verbatim, but src/data uses camelCase (inStock, durationMinutes, priceFrom) while the DB columns are snake_case (in_stock, duration_minutes, price_from), so that version fails with PGRST204. Map fields explicitly instead of spreading the rest.
45 lines
1.2 KiB
JSON
45 lines
1.2 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",
|
|
"seed": "tsx scripts/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@react-three/fiber": "^9.7.0",
|
|
"@supabase/supabase-js": "^2.112.2",
|
|
"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",
|
|
"tsx": "^4.23.11",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.65.0",
|
|
"vite": "^8.2.0",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|