forked from kmammou/v-hacd
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
43 lines (43 loc) · 1.34 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
{
"name": "vhacd-js",
"version": "0.0.1",
"description": "Voxelized hierarchical approximate convex mesh decomposition",
"module": "./lib/vhacd.js",
"type": "module",
"types": "./lib/vhacd.d.ts",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/pmconne/v-hacd-js"
},
"scripts": {
"build": "npm run build:wasm && npm run build:ts",
"build:optimized": "npm run build:wasm:optimized && npm run build:ts",
"build:ts": "tsc 1>&2",
"build:wasm": "mkdir -p lib && emcc -lembind -o lib/vhacd-wasm.js -sALLOW_MEMORY_GROWTH -sSINGLE_FILE=1 cpp/vhacd.cpp -sMODULARIZE=1 -sEXPORT_ES6=1 -sUSE_ES6_IMPORT_META=0 --pre-js cpp/pre.js",
"build:wasm:optimized": "mkdir -p lib && emcc -lembind -o lib/vhacd-wasm.js -sALLOW_MEMORY_GROWTH -sSINGLE_FILE=1 cpp/vhacd.cpp -sMODULARIZE=1 -sEXPORT_ES6=1 -sUSE_ES6_IMPORT_META=0 --pre-js cpp/pre.js -Oz",
"clean": "rimraf lib",
"test": "mocha ./lib/test"
},
"keywords": [
"convex",
"hull",
"vhacd",
"v-hacd",
"mesh",
"decomposition"
],
"author": {
"name": "Paul Connelly",
"url": "https://github.com/pmconne"
},
"devDependencies": {
"@types/chai": "4.3.1",
"@types/mocha": "^8.2.2",
"chai": "^4.1.2",
"mocha": "^10.0.0",
"rimraf": "^3.0.2",
"typescript": "~4.4.0"
},
"dependencies": {}
}