- scripts/start.js: copies .next/static to .next/standalone/.next/static before launching the standalone server (prevents CSS 404) - package.json: start script now uses scripts/start.js - Dockerfile: removed fragile manual better-sqlite3 copy (already included in standalone output) - scripts/setup.sh: added local prod option for npm start
33 lines
720 B
JSON
33 lines
720 B
JSON
{
|
|
"name": "worst-scan-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "node scripts/start.js",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^13.0.1",
|
|
"jose": "^6.2.4",
|
|
"jszip": "^3.10.1",
|
|
"lucide-react": "^1.26.0",
|
|
"next": "16.2.11",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"swr": "^2.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.11",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|