38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
|
|
{
|
|||
|
|
"name": "election-2026-web",
|
|||
|
|
"private": true,
|
|||
|
|
"type": "module",
|
|||
|
|
"packageManager": "pnpm@10.33.0",
|
|||
|
|
"description": "凍蒜 2026 前端。只依賴 @election2026/protocol,不含任何遊戲規則(docs/16)。",
|
|||
|
|
"scripts": {
|
|||
|
|
"dev": "vite",
|
|||
|
|
"build": "tsc -p tsconfig.json && vite build",
|
|||
|
|
"test": "vitest run",
|
|||
|
|
"typecheck": "tsc -p tsconfig.json",
|
|||
|
|
"sync-fixtures": "node scripts/sync-fixtures.mjs"
|
|||
|
|
},
|
|||
|
|
"dependencies": {
|
|||
|
|
"@election2026/protocol": "link:../backend/packages/protocol",
|
|||
|
|
"d3-geo": "^3.1.1",
|
|||
|
|
"lucide-react": "^1.61.0",
|
|||
|
|
"react": "^19.3.1",
|
|||
|
|
"react-dom": "^19.3.1",
|
|||
|
|
"three": "0.160.0",
|
|||
|
|
"topojson-client": "^3.1.0"
|
|||
|
|
},
|
|||
|
|
"devDependencies": {
|
|||
|
|
"@types/d3-geo": "^3.1.1",
|
|||
|
|
"@types/geojson": "^7946.0.16",
|
|||
|
|
"@types/node": "^26.6.5",
|
|||
|
|
"@types/react": "^19.3.0",
|
|||
|
|
"@types/react-dom": "^19.3.0",
|
|||
|
|
"@types/three": "0.160.0",
|
|||
|
|
"@types/topojson-client": "^3.1.5",
|
|||
|
|
"@types/topojson-specification": "^1.0.5",
|
|||
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|||
|
|
"typescript": "^7.0.2",
|
|||
|
|
"vite": "^8.3.5",
|
|||
|
|
"vitest": "^5.0.5"
|
|||
|
|
}
|
|||
|
|
}
|