mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 15:08:47 -07:00
e6e5c9990f
CodeRabbit on PR #49: the Docker build stages still used node:20-alpine, which vite 7 (>=20.19/22.12) and react-router 8 (>=22.22) no longer support. Bump NODE_VERSION to 22 in both Dockerfiles and declare engines.node >=22.22.0 in both app manifests so local installs on an old Node fail loudly instead of at build time.
32 lines
682 B
JSON
32 lines
682 B
JSON
{
|
|
"name": "dorknet-site",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22.22.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc -b --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"react-router": "^8.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.9.1",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.4",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.5.25",
|
|
"tailwindcss": "^3.4.15",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^7.3.6"
|
|
}
|
|
}
|