2026-10-28 07:58:33 +00:00
|
|
|
|
{
|
|
|
|
|
|
"name": "@election2026/server",
|
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
|
"private": true,
|
|
|
|
|
|
"type": "module",
|
|
|
|
|
|
"description": "遊戲 API 伺服器:比賽狀態只存在後端,前端只拿到玩家視角(docs/11)",
|
|
|
|
|
|
"scripts": {
|
|
|
|
|
|
"start": "node src/main.ts",
|
|
|
|
|
|
"test": "vitest run",
|
|
|
|
|
|
"typecheck": "tsc -p tsconfig.json"
|
|
|
|
|
|
},
|
|
|
|
|
|
"dependencies": {
|
|
|
|
|
|
"@election2026/content": "workspace:*",
|
|
|
|
|
|
"@election2026/engine": "workspace:*",
|
|
|
|
|
|
"@election2026/pack-loader": "workspace:*",
|
|
|
|
|
|
"@election2026/protocol": "workspace:*",
|
|
|
|
|
|
"@election2026/rogue": "workspace:*",
|
|
|
|
|
|
"@election2026/scenarios": "workspace:*",
|
2026-10-28 09:23:32 +00:00
|
|
|
|
"@fastify/compress": "^9.3.0",
|
2026-10-28 07:58:33 +00:00
|
|
|
|
"@fastify/rate-limit": "^11.2.1",
|
|
|
|
|
|
"fastify": "^5.12.7",
|
|
|
|
|
|
"zod": "^4.6.7"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|