-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.67 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
{
"name": "trident-physx-js-webidl",
"version": "0.4.13",
"description": "emscripten/WebIDL javascript bindings for Nvidia PhysX",
"author": "AIFanatic",
"main": "./dist/trident-physx-js-webidl.js",
"types": "./dist/trident-physx-js-webidl.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/AIFanatic/trident-physx-js-webidl.git"
},
"bugs": {
"url": "https://github.com/AIFanatic/trident-physx-js-webidl/issues"
},
"homepage": "https://github.com/AIFanatic/trident-physx-js-webidl#readme",
"keywords": [
"physics",
"emscripten",
"WebIDL",
"webassembly",
"PhysX"
],
"license": "MIT License",
"files": [
"dist",
"package.json",
"LICENSE",
"README.md"
],
"scripts": {
"build": "cd ./PhysX-Lib/ && ./make-dist.sh && cd .. && npm run build:esm && npm run build:types",
"build:esm": "esbuild src/PhysX.ts --bundle --outfile=dist/trident-physx-js-webidl.js --target=esnext --format=esm",
"build:types": "npm run build:physxmoduletypes && npm run build:physxtypes && cat ./src/trident-physx-js-webidl.wasm2.d.ts ./src/trident-physx-js-webidl.d.ts > ./dist/trident-physx-js-webidl.d.ts",
"build:physxmoduletypes": "npx -p jsdom -p milkshake-inc/webidl2ts -c 'webidl2ts -e -d -n PhysXModule -i PhysX-Lib/PhysX/physx/source/physxwebbindings/src/PhysXJs.idl -o src/trident-physx-js-webidl.wasm.d.ts'",
"build:physxtypes": "npx -p jsdom -p milkshake-inc/webidl2ts -c 'webidl2ts -e -n PhysX -i PhysX-Lib/PhysX/physx/source/physxwebbindings/src/PhysXJs.idl -o src/trident-physx-js-webidl.wasm2.d.ts'"
},
"devDependencies": {
"esbuild": "^0.14.38",
"typescript": "^4.6.3"
},
"dependencies": {}
}