- Copy working src/frontend code into packages/frontend/src - Add vite.config.js and index.html to packages/frontend - Add real backend WebSocket server source - Switch flake from pnpm to npm builds - Force-add npm lockfiles (gitignored) for Nix source inclusion - Set correct npmDepsHash for both packages
26 lines
595 B
JSON
26 lines
595 B
JSON
{
|
|
"name": "spatial-office-frontend",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 18790",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@react-three/drei": "^9.117.0",
|
|
"@react-three/fiber": "^8.17.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"three": "^0.170.0",
|
|
"zustand": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.0",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/three": "^0.170.0",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"vite": "^6.0.0"
|
|
}
|
|
}
|