This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.7 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
{
"name": "harmony-ecs",
"author": "Eric McDaniel <eric.g.mcdaniel@gmail.com>",
"description": "A small archetypal ECS focused on compatibility and performance",
"version": "0.0.12",
"license": "MIT",
"type": "module",
"types": "./lib/dist/esm/index.d.ts",
"main": "./lib/dist/cjs/index.js",
"exports": {
"import": "./lib/dist/esm/index.js",
"require": "./lib/dist/cjs/index.js"
},
"files": [
"lib/dist"
],
"engines": {
"node": ">=14.18.1"
},
"scripts": {
"perf": "npm run perf:node",
"perf:node": "npm run build && node --loader ts-node/esm --experimental-specifier-resolution=node perf/src/index.ts",
"perf:browser": "npm run build && cd ./perf && vite",
"example:compat": " cd ./examples/compat && vite",
"example:noise": " cd ./examples/noise && vite",
"example:graph": " cd ./examples/graph && vite",
"build": "tsc -b lib && npm run build:optimize && npm run build:cjs && tsc -b perf",
"build:optimize": "node lib/build/optimize.js",
"build:cjs": "esbuild --bundle --target=node12.22 --outdir=lib/dist/cjs --format=cjs lib/dist/esm/index.js",
"build:docs": "typedoc lib/src/index.ts --excludeInternal --sort source-order",
"prepare": "npm run build",
"test": "jest --verbose"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@types/jest": "^27.0.1",
"@types/three": "^0.131.0",
"babel-plugin-add-import-extension": "^1.6.0",
"cannon-es": "^0.18.0",
"esbuild": "^0.12.25",
"jest": "^27.1.1",
"three": "^0.132.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typedoc": "^0.22.7",
"typescript": "^4.4.2",
"vis-data": "^7.1.2",
"vis-network": "^9.1.0",
"vite": "^2.5.3"
}
}