2026-03-31 18:01:57 +08:00
|
|
|
{
|
|
|
|
|
"name": "boardgame-core",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "A state management library for board games using Preact Signals",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"import": "./dist/index.js"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "tsup",
|
2026-04-02 20:11:55 +08:00
|
|
|
"prepare": "npm run build",
|
2026-03-31 18:01:57 +08:00
|
|
|
"test": "vitest",
|
2026-04-01 21:44:20 +08:00
|
|
|
"test:run": "vitest run",
|
|
|
|
|
"typecheck": "tsc --noEmit"
|
2026-03-31 18:01:57 +08:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@preact/signals-core": "^1.5.1",
|
2026-04-02 13:11:45 +08:00
|
|
|
"inline-schema": "git+https://gitea.ayi-games.online/hypercross/inline-schema",
|
|
|
|
|
"mutative": "^1.3.0"
|
2026-03-31 18:01:57 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"tsup": "^8.0.2",
|
|
|
|
|
"typescript": "^5.3.3",
|
|
|
|
|
"vitest": "^1.3.1"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"boardgame",
|
|
|
|
|
"state-management",
|
|
|
|
|
"preact",
|
|
|
|
|
"signals"
|
|
|
|
|
],
|
|
|
|
|
"license": "MIT"
|
|
|
|
|
}
|