Files
two-keys/server/package.json
T
joshuaandClaude Opus 5.5 d1a9c7d0f7 V1.0.1
Connect over polling first so the game still works when a proxy drops the
websocket upgrade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:15:47 +02:00

28 lines
788 B
JSON

{
"name": "@two-keys/server",
"version": "1.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc --noEmit -p tsconfig.json && esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --packages=external --alias:@two-keys/shared=../shared/src/index.ts --outfile=dist/index.js",
"start": "node dist/index.js",
"test": "vitest run"
},
"dependencies": {
"@two-keys/shared": "*",
"express": "^4.21.0",
"js-yaml": "^4.1.0",
"socket.io": "^4.8.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.16.0",
"esbuild": "^0.24.0",
"socket.io-client": "^4.8.0",
"vitest": "^2.1.0"
}
}