28 lines
734 B
JSON
28 lines
734 B
JSON
{
|
||
"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"
|
||
}
|
||
}
|