election-game/web/package.json

39 lines
1.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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",
"start": "vite build && vite preview --port 5173 --strictPort",
"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"
}
}