Adding the lab project

This commit is contained in:
2026-07-01 12:10:12 +02:00
commit 48ce52b52c
56 changed files with 22289 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{
"name": "@glitch-components/voxel-automata-lab-backend",
"version": "0.1.0",
"type": "module",
"private": true,
"scripts": {
"admin:build": "vite build --config admin/vite.config.ts",
"admin:dev": "vite --config admin/vite.config.ts",
"build": "npm run admin:build && npm run server:build",
"dev": "tsx src/server.ts",
"migrate": "node scripts/migrate.mjs",
"server:build": "tsc -p tsconfig.build.json",
"start": "node dist/server.js",
"test": "vitest run",
"test:postgres": "CA_STUDIO_TEST_DATABASE_URL=${CA_STUDIO_TEST_DATABASE_URL:-postgres://ca_studio:ca_studio@localhost:54329/ca_studio_test} vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"express": "^5.2.1",
"pg": "^8.16.3",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"three": "^0.185.0"
},
"devDependencies": {
"@electric-sql/pglite": "^0.5.3",
"@types/express": "^5.0.6",
"@types/node": "^24.10.2",
"@types/pg": "^8.15.6",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/supertest": "^6.0.3",
"@types/three": "^0.185.0",
"@vitejs/plugin-react": "^5.1.2",
"supertest": "^7.2.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^7.2.7",
"vitest": "^4.1.9"
}
}