feat(tools): 添加 CLI 模块管理命令和文档验证 demos
- CLI 新增 list/add/remove 命令管理项目模块 - 创建 demos 包验证模块文档正确性 - 包含 Timer/FSM/Pathfinding/Procgen/Spatial 5个模块的完整测试
This commit is contained in:
26
packages/tools/demos/package.json
Normal file
26
packages/tools/demos/package.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "@esengine/demos",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"description": "Demo tests for ESEngine modules documentation",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "tsx src/index.ts",
|
||||
"test:timer": "tsx src/timer.demo.ts",
|
||||
"test:fsm": "tsx src/fsm.demo.ts",
|
||||
"test:pathfinding": "tsx src/pathfinding.demo.ts",
|
||||
"test:procgen": "tsx src/procgen.demo.ts",
|
||||
"test:spatial": "tsx src/spatial.demo.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@esengine/timer": "workspace:*",
|
||||
"@esengine/fsm": "workspace:*",
|
||||
"@esengine/pathfinding": "workspace:*",
|
||||
"@esengine/procgen": "workspace:*",
|
||||
"@esengine/spatial": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsx": "^4.7.0",
|
||||
"typescript": "^5.8.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user