* docs: add editor-app README with setup instructions * docs: add separate EN/CN editor setup guides * feat(ecs): add @NetworkEntity decorator for auto spawn/despawn broadcasting - Add @NetworkEntity decorator to mark components for automatic network broadcasting - ECSRoom now auto-broadcasts spawn on component:added event - ECSRoom now auto-broadcasts despawn on entity:destroyed event - Entity.destroy() emits entity:destroyed event via ECSEventType - Entity active state changes emit ENTITY_ENABLED/ENTITY_DISABLED events - Add enableAutoNetworkEntity config option to ECSRoom (default true) - Update documentation for both Chinese and English
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "@esengine/transaction",
|
|
"version": "2.0.4",
|
|
"description": "Game transaction system with distributed support | 游戏事务系统,支持分布式事务",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"module.json"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
"build:watch": "tsup --watch",
|
|
"type-check": "tsc --noEmit",
|
|
"clean": "rimraf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@esengine/server": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"ioredis": "^5.3.0",
|
|
"mongodb": "^6.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"ioredis": {
|
|
"optional": true
|
|
},
|
|
"mongodb": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@esengine/ecs-framework": "workspace:*",
|
|
"@esengine/build-config": "workspace:*",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.8.0",
|
|
"rimraf": "^5.0.0",
|
|
"vitest": "^2.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|