Debian apt ships EOL Node 18 which crashes Vite 8. Prep stage installs Node 20 from NodeSource when node is missing or <20; package.json declares engines. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
641 B
JSON
31 lines
641 B
JSON
{
|
|
"name": "web",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20.19"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.4.0",
|
|
"vite": "^8.0.4"
|
|
}
|
|
}
|