@esengine/ecs-framework 2.0.5 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/Core.js +23 -21
- package/bin/Core.js.map +1 -1
- package/bin/ECS/Component.js +5 -1
- package/bin/ECS/Component.js.map +1 -1
- package/bin/ECS/Components/IUpdatable.js +7 -2
- package/bin/ECS/Components/IUpdatable.js.map +1 -1
- package/bin/ECS/Components/SceneComponent.js +5 -1
- package/bin/ECS/Components/SceneComponent.js.map +1 -1
- package/bin/ECS/Core/BitMaskOptimizer.d.ts +75 -0
- package/bin/ECS/Core/BitMaskOptimizer.d.ts.map +1 -0
- package/bin/ECS/Core/BitMaskOptimizer.js +165 -0
- package/bin/ECS/Core/BitMaskOptimizer.js.map +1 -0
- package/bin/ECS/Core/ComponentPool.d.ts +72 -0
- package/bin/ECS/Core/ComponentPool.d.ts.map +1 -0
- package/bin/ECS/Core/ComponentPool.js +128 -0
- package/bin/ECS/Core/ComponentPool.js.map +1 -0
- package/bin/ECS/Core/ComponentStorage.js +9 -3
- package/bin/ECS/Core/ComponentStorage.js.map +1 -1
- package/bin/ECS/Core/EventSystem.js +13 -7
- package/bin/ECS/Core/EventSystem.js.map +1 -1
- package/bin/ECS/Core/FluentAPI.js +24 -17
- package/bin/ECS/Core/FluentAPI.js.map +1 -1
- package/bin/ECS/Core/IndexUpdateBatcher.d.ts +100 -0
- package/bin/ECS/Core/IndexUpdateBatcher.d.ts.map +1 -0
- package/bin/ECS/Core/IndexUpdateBatcher.js +223 -0
- package/bin/ECS/Core/IndexUpdateBatcher.js.map +1 -0
- package/bin/ECS/Core/QuerySystem.d.ts +292 -444
- package/bin/ECS/Core/QuerySystem.d.ts.map +1 -1
- package/bin/ECS/Core/QuerySystem.js +661 -1075
- package/bin/ECS/Core/QuerySystem.js.map +1 -1
- package/bin/ECS/CoreEvents.js +5 -2
- package/bin/ECS/CoreEvents.js.map +1 -1
- package/bin/ECS/Entity.js +18 -14
- package/bin/ECS/Entity.js.map +1 -1
- package/bin/ECS/Scene.d.ts +18 -2
- package/bin/ECS/Scene.d.ts.map +1 -1
- package/bin/ECS/Scene.js +72 -27
- package/bin/ECS/Scene.js.map +1 -1
- package/bin/ECS/Systems/EntitySystem.js +9 -5
- package/bin/ECS/Systems/EntitySystem.js.map +1 -1
- package/bin/ECS/Systems/IntervalSystem.js +8 -4
- package/bin/ECS/Systems/IntervalSystem.js.map +1 -1
- package/bin/ECS/Systems/PassiveSystem.js +6 -2
- package/bin/ECS/Systems/PassiveSystem.js.map +1 -1
- package/bin/ECS/Systems/ProcessingSystem.js +6 -2
- package/bin/ECS/Systems/ProcessingSystem.js.map +1 -1
- package/bin/ECS/Systems/index.js +11 -4
- package/bin/ECS/Systems/index.js.map +1 -1
- package/bin/ECS/Utils/Bits.js +5 -1
- package/bin/ECS/Utils/Bits.js.map +1 -1
- package/bin/ECS/Utils/ComponentTypeManager.js +8 -4
- package/bin/ECS/Utils/ComponentTypeManager.js.map +1 -1
- package/bin/ECS/Utils/EntityList.js +5 -1
- package/bin/ECS/Utils/EntityList.js.map +1 -1
- package/bin/ECS/Utils/EntityProcessorList.js +5 -1
- package/bin/ECS/Utils/EntityProcessorList.js.map +1 -1
- package/bin/ECS/Utils/IdentifierPool.js +5 -1
- package/bin/ECS/Utils/IdentifierPool.js.map +1 -1
- package/bin/ECS/Utils/Matcher.js +8 -4
- package/bin/ECS/Utils/Matcher.js.map +1 -1
- package/bin/ECS/Utils/index.js +15 -6
- package/bin/ECS/Utils/index.js.map +1 -1
- package/bin/ECS/index.js +27 -6
- package/bin/ECS/index.js.map +1 -1
- package/bin/Testing/Performance/benchmark.d.ts +6 -0
- package/bin/Testing/Performance/benchmark.d.ts.map +1 -0
- package/bin/Testing/Performance/benchmark.js +639 -0
- package/bin/Testing/Performance/benchmark.js.map +1 -0
- package/bin/Testing/Unit/bitmask-optimizer.test.d.ts +2 -0
- package/bin/Testing/Unit/bitmask-optimizer.test.d.ts.map +1 -0
- package/bin/Testing/Unit/bitmask-optimizer.test.js +164 -0
- package/bin/Testing/Unit/bitmask-optimizer.test.js.map +1 -0
- package/bin/Testing/Unit/component-pool.test.d.ts +5 -0
- package/bin/Testing/Unit/component-pool.test.d.ts.map +1 -0
- package/bin/Testing/Unit/component-pool.test.js +149 -0
- package/bin/Testing/Unit/component-pool.test.js.map +1 -0
- package/bin/Testing/test-runner.d.ts +51 -0
- package/bin/Testing/test-runner.d.ts.map +1 -0
- package/bin/Testing/test-runner.js +159 -0
- package/bin/Testing/test-runner.js.map +1 -0
- package/bin/Types/index.js +7 -4
- package/bin/Types/index.js.map +1 -1
- package/bin/Utils/Emitter.js +7 -2
- package/bin/Utils/Emitter.js.map +1 -1
- package/bin/Utils/Extensions/NumberExtension.js +5 -1
- package/bin/Utils/Extensions/NumberExtension.js.map +1 -1
- package/bin/Utils/Extensions/TypeUtils.js +5 -1
- package/bin/Utils/Extensions/TypeUtils.js.map +1 -1
- package/bin/Utils/Extensions/index.js +7 -2
- package/bin/Utils/Extensions/index.js.map +1 -1
- package/bin/Utils/GlobalManager.js +5 -1
- package/bin/Utils/GlobalManager.js.map +1 -1
- package/bin/Utils/PerformanceMonitor.js +9 -5
- package/bin/Utils/PerformanceMonitor.js.map +1 -1
- package/bin/Utils/Pool.js +9 -3
- package/bin/Utils/Pool.js.map +1 -1
- package/bin/Utils/Time.js +5 -1
- package/bin/Utils/Time.js.map +1 -1
- package/bin/Utils/Timers/ITimer.js +2 -1
- package/bin/Utils/Timers/Timer.js +7 -3
- package/bin/Utils/Timers/Timer.js.map +1 -1
- package/bin/Utils/Timers/TimerManager.js +8 -4
- package/bin/Utils/Timers/TimerManager.js.map +1 -1
- package/bin/Utils/WasmCore.d.ts +234 -0
- package/bin/Utils/WasmCore.d.ts.map +1 -0
- package/bin/Utils/WasmCore.js +634 -0
- package/bin/Utils/WasmCore.js.map +1 -0
- package/bin/Utils/index.d.ts +10 -0
- package/bin/Utils/index.d.ts.map +1 -1
- package/bin/Utils/index.js +36 -5
- package/bin/Utils/index.js.map +1 -1
- package/bin/index.d.ts +1 -2
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +42 -14
- package/bin/index.js.map +1 -1
- package/package.json +54 -74
package/bin/Utils/index.js
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* 工具模块导出
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.Query = exports.initializeEcs = exports.ecsCore = exports.WasmEcsCore = exports.Time = void 0;
|
|
21
|
+
__exportStar(require("./Extensions"), exports);
|
|
22
|
+
__exportStar(require("./Pool"), exports);
|
|
23
|
+
__exportStar(require("./Emitter"), exports);
|
|
24
|
+
__exportStar(require("./GlobalManager"), exports);
|
|
25
|
+
__exportStar(require("./PerformanceMonitor"), exports);
|
|
26
|
+
var Time_1 = require("./Time");
|
|
27
|
+
Object.defineProperty(exports, "Time", { enumerable: true, get: function () { return Time_1.Time; } });
|
|
28
|
+
/**
|
|
29
|
+
* WebAssembly核心模块
|
|
30
|
+
* 提供高性能的ECS查询和计算功能
|
|
31
|
+
*/
|
|
32
|
+
var WasmCore_1 = require("./WasmCore");
|
|
33
|
+
Object.defineProperty(exports, "WasmEcsCore", { enumerable: true, get: function () { return WasmCore_1.WasmEcsCore; } });
|
|
34
|
+
Object.defineProperty(exports, "ecsCore", { enumerable: true, get: function () { return WasmCore_1.ecsCore; } });
|
|
35
|
+
Object.defineProperty(exports, "initializeEcs", { enumerable: true, get: function () { return WasmCore_1.initializeEcs; } });
|
|
36
|
+
Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return WasmCore_1.Query; } });
|
|
6
37
|
//# sourceMappingURL=index.js.map
|
package/bin/Utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Utils/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Utils/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,kDAAgC;AAChC,uDAAqC;AACrC,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb;;;GAGG;AACH,uCASoB;AARhB,uGAAA,WAAW,OAAA;AACX,mGAAA,OAAO,OAAA;AACP,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA"}
|
package/bin/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ECS Framework - 轻量级实体组件系统框架
|
|
3
3
|
* 适用于Laya、Cocos等游戏引擎的小游戏开发
|
|
4
|
-
* @version 2.0.0
|
|
5
|
-
* @author ECS Framework Team
|
|
6
4
|
*/
|
|
7
5
|
export { Core } from './Core';
|
|
8
6
|
export { CoreEvents } from './ECS/CoreEvents';
|
|
@@ -15,5 +13,6 @@ export * from './ECS';
|
|
|
15
13
|
export * from './Utils/Pool';
|
|
16
14
|
export * from './Utils/PerformanceMonitor';
|
|
17
15
|
export * from './Utils/Extensions';
|
|
16
|
+
export { WasmEcsCore, ecsCore, initializeEcs, Query, EntityId, ComponentMask, QueryResult } from './Utils/WasmCore';
|
|
18
17
|
export * from './Types';
|
|
19
18
|
//# sourceMappingURL=index.d.ts.map
|
package/bin/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAG7C,cAAc,OAAO,CAAC;AAGtB,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EACH,WAAW,EACX,OAAO,EACP,aAAa,EACb,KAAK,EACL,QAAQ,EACR,aAAa,EACb,WAAW,EACd,MAAM,kBAAkB,CAAC;AAG1B,cAAc,SAAS,CAAC"}
|
package/bin/index.js
CHANGED
|
@@ -1,23 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* ECS Framework - 轻量级实体组件系统框架
|
|
3
4
|
* 适用于Laya、Cocos等游戏引擎的小游戏开发
|
|
4
|
-
* @version 2.0.0
|
|
5
|
-
* @author ECS Framework Team
|
|
6
5
|
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.Query = exports.initializeEcs = exports.ecsCore = exports.WasmEcsCore = exports.Timer = exports.TimerManager = exports.GlobalManager = exports.FuncPack = exports.Emitter = exports.CoreEvents = exports.Core = void 0;
|
|
7
22
|
// 核心模块
|
|
8
|
-
|
|
23
|
+
var Core_1 = require("./Core");
|
|
24
|
+
Object.defineProperty(exports, "Core", { enumerable: true, get: function () { return Core_1.Core; } });
|
|
9
25
|
// 核心事件和管理器
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
26
|
+
var CoreEvents_1 = require("./ECS/CoreEvents");
|
|
27
|
+
Object.defineProperty(exports, "CoreEvents", { enumerable: true, get: function () { return CoreEvents_1.CoreEvents; } });
|
|
28
|
+
var Emitter_1 = require("./Utils/Emitter");
|
|
29
|
+
Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return Emitter_1.Emitter; } });
|
|
30
|
+
Object.defineProperty(exports, "FuncPack", { enumerable: true, get: function () { return Emitter_1.FuncPack; } });
|
|
31
|
+
var GlobalManager_1 = require("./Utils/GlobalManager");
|
|
32
|
+
Object.defineProperty(exports, "GlobalManager", { enumerable: true, get: function () { return GlobalManager_1.GlobalManager; } });
|
|
33
|
+
var TimerManager_1 = require("./Utils/Timers/TimerManager");
|
|
34
|
+
Object.defineProperty(exports, "TimerManager", { enumerable: true, get: function () { return TimerManager_1.TimerManager; } });
|
|
35
|
+
var Timer_1 = require("./Utils/Timers/Timer");
|
|
36
|
+
Object.defineProperty(exports, "Timer", { enumerable: true, get: function () { return Timer_1.Timer; } });
|
|
37
|
+
// ECS核心组件
|
|
38
|
+
__exportStar(require("./ECS"), exports);
|
|
17
39
|
// 工具类
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
40
|
+
__exportStar(require("./Utils/Pool"), exports);
|
|
41
|
+
__exportStar(require("./Utils/PerformanceMonitor"), exports);
|
|
42
|
+
__exportStar(require("./Utils/Extensions"), exports);
|
|
43
|
+
// WebAssembly核心模块
|
|
44
|
+
var WasmCore_1 = require("./Utils/WasmCore");
|
|
45
|
+
Object.defineProperty(exports, "WasmEcsCore", { enumerable: true, get: function () { return WasmCore_1.WasmEcsCore; } });
|
|
46
|
+
Object.defineProperty(exports, "ecsCore", { enumerable: true, get: function () { return WasmCore_1.ecsCore; } });
|
|
47
|
+
Object.defineProperty(exports, "initializeEcs", { enumerable: true, get: function () { return WasmCore_1.initializeEcs; } });
|
|
48
|
+
Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return WasmCore_1.Query; } });
|
|
21
49
|
// 类型定义
|
|
22
|
-
|
|
50
|
+
__exportStar(require("./Types"), exports);
|
|
23
51
|
//# sourceMappingURL=index.js.map
|
package/bin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,OAAO;AACP,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AAEb,WAAW;AACX,+CAA8C;AAArC,wGAAA,UAAU,OAAA;AACnB,2CAAoD;AAA3C,kGAAA,OAAO,OAAA;AAAE,mGAAA,QAAQ,OAAA;AAC1B,uDAAsD;AAA7C,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,4GAAA,YAAY,OAAA;AAErB,8CAA6C;AAApC,8FAAA,KAAK,OAAA;AAEd,UAAU;AACV,wCAAsB;AAEtB,MAAM;AACN,+CAA6B;AAC7B,6DAA2C;AAC3C,qDAAmC;AAEnC,kBAAkB;AAClB,6CAQ0B;AAPtB,uGAAA,WAAW,OAAA;AACX,mGAAA,OAAO,OAAA;AACP,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA;AAMT,OAAO;AACP,0CAAwB"}
|
package/package.json
CHANGED
|
@@ -1,74 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@esengine/ecs-framework",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "用于Laya、Cocos等游戏引擎的高性能ECS框架",
|
|
5
|
-
"main": "bin/index.js",
|
|
6
|
-
"types": "bin/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"bin/**/*",
|
|
9
|
-
"README.md",
|
|
10
|
-
"LICENSE"
|
|
11
|
-
],
|
|
12
|
-
"keywords": [
|
|
13
|
-
"ecs",
|
|
14
|
-
"entity-component-system",
|
|
15
|
-
"game-engine",
|
|
16
|
-
"typescript",
|
|
17
|
-
"laya",
|
|
18
|
-
"cocos",
|
|
19
|
-
"egret"
|
|
20
|
-
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"build
|
|
25
|
-
"build:
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"gulp-string-replace": "^1.1.2",
|
|
56
|
-
"gulp-typescript": "^6.0.0-alpha.1",
|
|
57
|
-
"gulp-uglify": "^3.0.2",
|
|
58
|
-
"merge2": "^1.4.1",
|
|
59
|
-
"rimraf": "^5.0.0",
|
|
60
|
-
"tsify": "^5.0.4",
|
|
61
|
-
"typedoc": "^0.28.5",
|
|
62
|
-
"typescript": "^5.8.3",
|
|
63
|
-
"vinyl-source-stream": "^2.0.0",
|
|
64
|
-
"watchify": "^4.0.0"
|
|
65
|
-
},
|
|
66
|
-
"publishConfig": {
|
|
67
|
-
"access": "public"
|
|
68
|
-
},
|
|
69
|
-
"repository": {
|
|
70
|
-
"type": "git",
|
|
71
|
-
"url": "https://github.com/esengine/ecs-framework.git"
|
|
72
|
-
},
|
|
73
|
-
"dependencies": {}
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@esengine/ecs-framework",
|
|
3
|
+
"version": "2.0.7",
|
|
4
|
+
"description": "用于Laya、Cocos等游戏引擎的高性能ECS框架",
|
|
5
|
+
"main": "bin/index.js",
|
|
6
|
+
"types": "bin/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"bin/**/*",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"ecs",
|
|
14
|
+
"entity-component-system",
|
|
15
|
+
"game-engine",
|
|
16
|
+
"typescript",
|
|
17
|
+
"laya",
|
|
18
|
+
"cocos",
|
|
19
|
+
"egret"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"clean": "rimraf bin wasm",
|
|
23
|
+
"prebuild": "npm run clean",
|
|
24
|
+
"build": "tsc",
|
|
25
|
+
"build:watch": "tsc --watch",
|
|
26
|
+
"rebuild": "npm run clean && npm run build",
|
|
27
|
+
"test:benchmark": "npm run build && node bin/Testing/Performance/benchmark.js",
|
|
28
|
+
"test:unit": "npm run build && node bin/Testing/test-runner.js",
|
|
29
|
+
"benchmark": "node scripts/benchmark.js",
|
|
30
|
+
"prepublishOnly": "npm run build",
|
|
31
|
+
"version:patch": "npm version patch",
|
|
32
|
+
"version:minor": "npm version minor",
|
|
33
|
+
"version:major": "npm version major",
|
|
34
|
+
"publish:patch": "npm run version:patch && npm publish",
|
|
35
|
+
"publish:minor": "npm run version:minor && npm publish",
|
|
36
|
+
"publish:major": "npm run version:major && npm publish",
|
|
37
|
+
"publish": "npm publish"
|
|
38
|
+
},
|
|
39
|
+
"author": "yhh",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@types/node": "^20.19.0",
|
|
43
|
+
"rimraf": "^5.0.0",
|
|
44
|
+
"typescript": "^5.8.3"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "https://github.com/esengine/ecs-framework.git"
|
|
52
|
+
},
|
|
53
|
+
"optionalDependencies": {}
|
|
54
|
+
}
|