Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.54 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.54 KB
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
100
101
102
103
104
105
106
107
{
"name": "cutestc2",
"version": "1.0.0",
"description": "Fast, typed 2D collision, spatial queries, navigation and crowd steering powered by cute_c2 and WebAssembly",
"type": "module",
"main": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js"
},
"./navigation": {
"types": "./dist/types/navigation.d.ts",
"import": "./dist/esm/navigation.js"
},
"./navmesh": {
"types": "./dist/types/navmesh.d.ts",
"import": "./dist/esm/navmesh.js"
},
"./crowd": {
"types": "./dist/types/crowd.d.ts",
"import": "./dist/esm/crowd.js"
},
"./legacy": "./dist/legacy/cutestc2.legacy.js",
"./wasm/collision": "./dist/wasm/collision.wasm",
"./wasm/navigation": "./dist/wasm/navigation.wasm",
"./wasm/navmesh": "./dist/wasm/navmesh.wasm",
"./package.json": "./package.json"
},
"files": [
"dist/esm",
"dist/legacy",
"dist/wasm",
"dist/types",
"src/*.ts",
"tools/bake-navmesh.mjs",
"LICENSE",
"THIRD_PARTY_NOTICES.md",
"CHANGELOG.md"
],
"bin": {
"cutestc2-bake-navmesh": "./tools/bake-navmesh.mjs"
},
"scripts": {
"clean": "node tools/clean.mjs",
"build:wasm": "node tools/build-wasm.mjs",
"build:ts": "node tools/clean-ts.mjs && node --max-old-space-size=4096 node_modules/typescript/bin/tsc -p tsconfig.build.json",
"build:legacy": "node tools/build-legacy.mjs",
"build": "npm run clean && npm run build:wasm && npm run build:ts && npm run build:legacy",
"typecheck": "npm run build:ts && node --max-old-space-size=4096 node_modules/typescript/bin/tsc -p tsconfig.json --noEmit && node --max-old-space-size=4096 node_modules/typescript/bin/tsc -p tsconfig.public.json && node tools/check-public-types.mjs",
"test": "node tools/run-tests.mjs",
"test:coverage": "c8 --all --include=dist/esm/**/*.js --reporter=text node tools/run-tests.mjs",
"test:pack": "node tools/test-pack.mjs",
"test:legacy": "node tools/legacy-smoke.mjs",
"test:legacy:nw": "node tools/nw-legacy-smoke.mjs",
"test:e2e": "playwright test",
"demo": "vite --host 127.0.0.1",
"demo:build": "vite build",
"demo:preview": "npm run demo:build && vite preview --host 127.0.0.1 --port 8000 --strictPort",
"bench": "node bench/bench.mjs",
"bench:check": "node tools/bench-regression.mjs",
"bench:memory": "node --expose-gc bench/memory.mjs",
"bench:dynamic": "node bench/dynamic-grid-bench.mjs",
"bench:navigation": "node bench/navigation-bench.mjs",
"prepack": "npm run build && npm run test:legacy"
},
"engines": {
"node": ">=18"
},
"sideEffects": false,
"keywords": [
"collision",
"2d",
"wasm",
"game-development",
"pathfinding",
"navigation"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jorgemakerdev/CutestC2.git"
},
"bugs": {
"url": "https://github.com/jorgemakerdev/CutestC2/issues"
},
"homepage": "https://github.com/jorgemakerdev/CutestC2#readme",
"author": "Jorge 'Maker' Augusto",
"license": "Zlib",
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"clipper2-wasm": "^0.4.0",
"earcut": "^3.2.3"
},
"devDependencies": {
"@playwright/test": "^1.55.0",
"c8": "^10.1.3",
"esbuild": "^0.25.9",
"nw": "^0.29.4",
"pixi.js": "^8.13.2",
"typescript": "^6.0.0",
"vite": "^7.1.3"
}
}