-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
99 lines (99 loc) · 3.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "sim-ecs",
"version": "0.6.5",
"license": "MPL 2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/NSSTC/sim-ecs.git"
},
"homepage": "https://nsstc.github.io/sim-ecs/",
"type": "module",
"main": "dist/sim-ecs.cjs",
"module": "dist/sim-ecs.mjs",
"sideEffects": false,
"types": "dist/index.d.ts",
"keywords": [
"bevy",
"bun",
"code-splitting",
"component",
"data",
"data-driven",
"decoupling",
"deno",
"ecs",
"entity",
"event",
"game",
"game-dev",
"game-engine",
"modularization",
"prefab",
"scheduler",
"scheduling",
"simulation",
"sim",
"sim-ecs",
"state",
"splitting",
"system",
"typescript",
"world"
],
"exports": {
".": {
"import": [
"./dist/sim-ecs.mjs",
"./dist/index.d.ts"
],
"require": "./dist/sim-ecs.cjs"
}
},
"engines": {
"node": ">=18"
},
"dependencies": {
"tslib": "^2"
},
"devDependencies": {
"@types/chai": "^4",
"@types/mocha": "^10",
"chai": "^5",
"esbuild": "~0.21",
"madge": "^7",
"mocha": "^10",
"nyc": "^15",
"tsx": "^4",
"typedoc": "~0.25",
"typescript": "^5"
},
"files": [
"dist"
],
"scripts": {
"prebuild": "npm run loop-test-ts && npm run test",
"bench": "cd examples/bench && npm run bench",
"build": "npm run esmbuild && npm run dtsbuild && npm run doc",
"build-examples": "cd examples && tsc --project .",
"bun-example-counter": "bun examples/counter.ts",
"bun-example-events": "bun examples/events.ts",
"bun-example-system-error": "bun examples/system-error.ts",
"ci": "npm run prebuild && npm run cjsbuild && npm run esmbuild && npm run postbuild",
"doc": "typedoc src/index.ts --out docs --includeVersion --excludeInternal --excludePrivate --excludeProtected --media ./media",
"cjsbuild": "esbuild src/index.ts --bundle --outfile=dist/sim-ecs.cjs --allow-overwrite --format=cjs --sourcemap --target=es2020 --minify",
"coverage": "nyc -r lcov -e .ts -x \"**/*.test.ts\" -x \"**/*.spec.ts\" -x \"src/tests\" npm run test",
"deno-example-counter": "deno run examples/counter.ts",
"deno-example-events": "deno run examples/events.ts",
"deno-example-system-error": "deno run examples/system-error.ts",
"dtsbuild": "tsc -P ./tsconfig-tsc.json --emitDeclarationOnly",
"esmbuild": "esbuild src/index.ts --bundle --outfile=dist/sim-ecs.mjs --allow-overwrite --format=esm --sourcemap --target=es2020 --minify",
"example-counter": "tsx --tsconfig tsconfig.json examples/counter.ts",
"example-events": "tsx --tsconfig tsconfig.json examples/events.ts",
"example-system-error": "tsx --tsconfig tsconfig.json examples/system-error.ts",
"loop-test-js": "madge -c .",
"loop-test-ts": "madge -c --extensions ts --warning --orphans ./src",
"prepare": "npm run build",
"test": "mocha --experimental-specifier-resolution=node --import=tsx src/**/*.test.ts",
"postbuild": "npm run loop-test-js"
}
}