Files
esengine/packages/tools/cli/package.json
YHH c4f7a13b74 feat(cli): add CLI tool for adding ECS framework to existing projects (#339)
* feat(cli): add CLI tool for adding ECS framework to existing projects

- Support Cocos Creator 2.x/3.x, LayaAir 3.x, and Node.js platforms
- Auto-detect project type based on directory structure
- Generate ECSManager with full configuration (debug, remote debug, WebSocket URL)
- Auto-install dependencies with npm/yarn/pnpm detection
- Platform-specific decorators and lifecycle methods

* chore: add changeset for @esengine/cli

* fix(ci): fix YAML syntax error in ai-issue-helper workflow

* fix(cli): resolve file system race conditions (CodeQL)

* chore(ci): remove unused and broken workflows

* fix(ci): fix YAML encoding in release.yml
2025-12-26 16:18:59 +08:00

52 lines
1006 B
JSON

{
"name": "@esengine/cli",
"version": "1.0.0",
"description": "CLI tool for adding ESEngine ECS framework to existing projects",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"esengine": "./dist/cli.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"dev": "ts-node src/cli.ts",
"clean": "rimraf dist",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"esengine",
"ecs",
"cli",
"cocos",
"laya",
"game-framework"
],
"author": "yhh",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
"commander": "^12.1.0",
"prompts": "^2.4.2"
},
"devDependencies": {
"@types/node": "^20.19.0",
"@types/prompts": "^2.4.9",
"rimraf": "^5.0.0",
"typescript": "^5.8.3"
},
"publishConfig": {
"access": "public"
}
}