election-game/backend/packages/protocol/package.json

28 lines
734 B
JSON
Raw 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": "@election2026/protocol",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "前後端契約:資料包、人物、評分的結構定義(v1)",
"exports": {
".": "./src/index.ts",
"./avatar-art": "./src/avatar/art.generated.ts",
"./schema/*": "./schema/*"
},
"scripts": {
"schema": "node scripts/build-schema.ts",
"avatar:build": "node scripts/build-avatar-catalog.ts",
"avatar:check": "node scripts/build-avatar-catalog.ts --check",
"test": "vitest run",
"typecheck": "tsc -p tsconfig.json"
},
"dependencies": {
"zod": "^4.6.7"
},
"devDependencies": {
"@types/node": "^26.6.5",
"typescript": "^7.0.2",
"vitest": "^5.0.5"
}
}