boardgame-core/package.json

47 lines
1.1 KiB
JSON
Raw Permalink Normal View History

{
"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"
},
"./samples/*": {
"types": "./dist/samples/*.d.ts",
"import": "./dist/samples/*.js"
}
},
"scripts": {
"build": "tsup",
"build:samples": "tsup --config tsup.samples.config.ts",
2026-04-02 20:11:55 +08:00
"prepare": "npm run build",
"test": "vitest",
2026-04-01 21:44:20 +08:00
"test:run": "vitest run",
"typecheck": "tsc --noEmit"
},
2026-04-06 12:38:24 +08:00
"peerDependencies": {
"@preact/signals-core": "^1.5.1",
"inline-schema": "file:../inline-schema",
2026-04-02 13:11:45 +08:00
"mutative": "^1.3.0"
},
"devDependencies": {
2026-04-06 12:38:24 +08:00
"@preact/signals-core": "^1.5.1",
"inline-schema": "file:../inline-schema",
"mutative": "^1.3.0",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
"keywords": [
"boardgame",
"state-management",
"preact",
"signals"
],
"license": "MIT"
}