2020-06-08 11:49:45 +08:00
|
|
|
{
|
2025-06-07 20:32:43 +08:00
|
|
|
"name": "@esengine/ecs-framework",
|
2025-06-08 21:50:50 +08:00
|
|
|
"version": "2.1.0",
|
2025-06-07 20:32:43 +08:00
|
|
|
"description": "用于Laya、Cocos等游戏引擎的高性能ECS框架",
|
|
|
|
|
"main": "bin/index.js",
|
|
|
|
|
"types": "bin/index.d.ts",
|
|
|
|
|
"files": [
|
|
|
|
|
"bin/**/*",
|
|
|
|
|
"README.md",
|
|
|
|
|
"LICENSE"
|
|
|
|
|
],
|
|
|
|
|
"keywords": [
|
|
|
|
|
"ecs",
|
|
|
|
|
"entity-component-system",
|
|
|
|
|
"game-engine",
|
|
|
|
|
"typescript",
|
|
|
|
|
"laya",
|
|
|
|
|
"cocos",
|
|
|
|
|
"egret"
|
|
|
|
|
],
|
2020-06-08 11:49:45 +08:00
|
|
|
"scripts": {
|
2025-06-08 21:50:50 +08:00
|
|
|
"clean": "rimraf bin wasm",
|
|
|
|
|
"clean:wasm": "rimraf src/wasm/rust-ecs-core/pkg src/wasm/rust-ecs-core/target",
|
|
|
|
|
"build:wasm": "cd src/wasm/rust-ecs-core && wasm-pack build --target web --out-dir ../../../bin/wasm --release",
|
|
|
|
|
"build:ts": "tsc",
|
|
|
|
|
"prebuild": "npm run clean",
|
|
|
|
|
"build": "npm run build:wasm && npm run build:ts",
|
2025-06-07 20:32:43 +08:00
|
|
|
"build:watch": "tsc --watch",
|
2025-06-08 21:50:50 +08:00
|
|
|
"rebuild": "npm run clean && npm run clean:wasm && npm run build",
|
|
|
|
|
"test:benchmark": "npm run build && node bin/Testing/Performance/benchmark.js",
|
|
|
|
|
"test:unit": "npm run build && node bin/Testing/test-runner.js",
|
|
|
|
|
"benchmark": "node scripts/benchmark.js",
|
|
|
|
|
"preversion": "npm run rebuild",
|
|
|
|
|
"postversion": "npm publish",
|
|
|
|
|
"publish:patch": "npm version patch",
|
|
|
|
|
"publish:minor": "npm version minor",
|
|
|
|
|
"publish:major": "npm version major",
|
|
|
|
|
"publish": "npm publish"
|
2020-06-08 11:49:45 +08:00
|
|
|
},
|
|
|
|
|
"author": "yhh",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"devDependencies": {
|
2025-06-08 21:50:50 +08:00
|
|
|
"@types/node": "^20.19.0",
|
2025-06-07 20:32:43 +08:00
|
|
|
"rimraf": "^5.0.0",
|
2025-06-08 21:50:50 +08:00
|
|
|
"typescript": "^5.8.3"
|
2020-06-08 11:49:45 +08:00
|
|
|
},
|
2020-06-08 21:53:09 +08:00
|
|
|
"publishConfig": {
|
2025-06-07 20:32:43 +08:00
|
|
|
"access": "public"
|
2020-06-16 13:13:55 +08:00
|
|
|
},
|
2023-03-13 12:10:17 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/esengine/ecs-framework.git"
|
|
|
|
|
},
|
2025-06-08 21:50:50 +08:00
|
|
|
"optionalDependencies": {}
|
2020-06-08 11:49:45 +08:00
|
|
|
}
|