begin live server support

This commit is contained in:
Brian Beck 2026-03-09 12:38:40 -07:00
parent 0c9ddb476a
commit e4ae265184
368 changed files with 17756 additions and 7738 deletions

View file

@ -14,12 +14,18 @@
"deploy": "npm run build && git add -f docs && git commit -m \"Deploy\" && git push",
"format": "prettier --write .",
"lint": "eslint .",
"login": "node --env-file-if-exists=.env --env-file-if-exists=.env.local --import=tsx/esm scripts/t2-login.ts",
"postbuild": "git checkout -- public/base && touch docs/.nojekyll",
"prebuild": "git checkout -- docs && rimraf public/base && mv docs/base public/",
"relay:dev": "node --env-file-if-exists=.env.local --watch --import=tsx/esm relay/server.ts",
"relay": "node --env-file-if-exists=.env.local --import=tsx/esm relay/server.ts",
"serve:static": "tsx scripts/serve-static.ts",
"server-list": "node --env-file-if-exists=.env --env-file-if-exists=.env.local --import=tsx/esm scripts/t2-server-list.ts",
"start:both": "concurrently npm:start npm:relay:dev",
"start": "next dev --turbopack",
"test": "vitest run",
"test-connect": "node --env-file-if-exists=.env.local --import=tsx/esm scripts/test-connect.ts",
"test:watch": "vitest",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
@ -34,13 +40,17 @@
"nipplejs": "^0.10.2",
"nuqs": "^2.8.9",
"picomatch": "^4.0.3",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-error-boundary": "^6.0.1",
"react-icons": "^5.5.0",
"t2-demo-parser": "file:.yalc/t2-demo-parser",
"three": "^0.182.0",
"tsx": "^4.21.0",
"unzipper": "^0.12.3",
"ws": "^8.19.0",
"zustand": "^5.0.11"
},
"devDependencies": {
@ -52,7 +62,9 @@
"@types/react": "^19.2.14",
"@types/three": "^0.182.0",
"@types/unzipper": "^0.10.11",
"@types/ws": "^8.18.1",
"babel-plugin-react-compiler": "^1.0.0",
"concurrently": "^9.2.1",
"eslint": "^9.39.2",
"eslint-config-next": "^16.1.1",
"express": "^5.2.1",
@ -62,7 +74,6 @@
"prettier-plugin-glsl": "^0.2.2",
"puppeteer": "^24.34.0",
"rimraf": "^6.1.2",
"tsx": "^4.21.0",
"typescript": "5.9.3",
"typescript-eslint": "^8.51.0",
"vitest": "^4.0.18"