@melonjs/rapier3d-adapter 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +341 -2
- package/build/Rapier3dAdapter.d.ts +396 -0
- package/build/Rapier3dAdapter.d.ts.map +1 -0
- package/build/Simulation.d.ts +35 -0
- package/build/Simulation.d.ts.map +1 -0
- package/build/bodies/Motion.d.ts +64 -0
- package/build/bodies/Motion.d.ts.map +1 -0
- package/build/bodies/RuntimeOverrides.d.ts +16 -0
- package/build/bodies/RuntimeOverrides.d.ts.map +1 -0
- package/build/bodies/helpers.d.ts +30 -0
- package/build/bodies/helpers.d.ts.map +1 -0
- package/build/bodies/pose.d.ts +34 -0
- package/build/bodies/pose.d.ts.map +1 -0
- package/build/colliders/CollisionFilters.d.ts +60 -0
- package/build/colliders/CollisionFilters.d.ts.map +1 -0
- package/build/colliders/footprint.d.ts +22 -0
- package/build/colliders/footprint.d.ts.map +1 -0
- package/build/colliders/shapes.d.ts +18 -0
- package/build/colliders/shapes.d.ts.map +1 -0
- package/build/colliders/types.d.ts +48 -0
- package/build/colliders/types.d.ts.map +1 -0
- package/build/contacts/ContactDispatcher.d.ts +80 -0
- package/build/contacts/ContactDispatcher.d.ts.map +1 -0
- package/build/index.d.ts +9 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +1942 -0
- package/build/index.js.map +7 -0
- package/build/joints/Joints.d.ts +51 -0
- package/build/joints/Joints.d.ts.map +1 -0
- package/build/loader.d.ts +20 -0
- package/build/loader.d.ts.map +1 -0
- package/build/math/units.d.ts +44 -0
- package/build/math/units.d.ts.map +1 -0
- package/build/queries/queries.d.ts +40 -0
- package/build/queries/queries.d.ts.map +1 -0
- package/build/types.d.ts +77 -0
- package/build/types.d.ts.map +1 -0
- package/package.json +71 -5
package/package.json
CHANGED
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@melonjs/rapier3d-adapter",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "melonJS physics adapter for Rapier 3D (WebAssembly)",
|
|
5
|
+
"homepage": "https://www.npmjs.com/package/@melonjs/rapier3d-adapter",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"3D",
|
|
9
|
+
"HTML5",
|
|
10
|
+
"javascript",
|
|
11
|
+
"TypeScript",
|
|
12
|
+
"es6",
|
|
13
|
+
"Canvas",
|
|
14
|
+
"WebGL",
|
|
15
|
+
"game",
|
|
16
|
+
"engine",
|
|
17
|
+
"physics",
|
|
18
|
+
"rapier",
|
|
19
|
+
"rapier3d",
|
|
20
|
+
"wasm",
|
|
21
|
+
"webassembly",
|
|
22
|
+
"browser"
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/melonjs/melonJS.git",
|
|
27
|
+
"directory": "packages/rapier3d-adapter"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/melonjs/melonJS/issues"
|
|
31
|
+
},
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"author": "Olivier Biot (AltByte Pte Ltd)",
|
|
34
|
+
"funding": "https://github.com/sponsors/melonjs",
|
|
35
|
+
"types": "./build/index.d.ts",
|
|
36
|
+
"exports": {
|
|
37
|
+
".": "./build/index.js"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"build/",
|
|
41
|
+
"package.json",
|
|
42
|
+
"README.md",
|
|
43
|
+
"LICENSE",
|
|
44
|
+
"CHANGELOG.md"
|
|
45
|
+
],
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"melonjs": ">=20.16.0"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@dimforge/rapier3d-compat": "^0.21.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"concurrently": "^9.2.1",
|
|
54
|
+
"esbuild": "^0.28.0",
|
|
55
|
+
"melonjs": "workspace:*",
|
|
56
|
+
"tsconfig": "workspace:*",
|
|
57
|
+
"tsx": "^4.23.1",
|
|
58
|
+
"typescript": "^6.0.2",
|
|
59
|
+
"vitest": "^4.1.10"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"dev": "concurrently --raw \"pnpm build:watch\" \"pnpm tsc:watch\"",
|
|
63
|
+
"build": "tsx scripts/build.ts && pnpm types",
|
|
64
|
+
"build:watch": "tsx scripts/build.ts watch",
|
|
65
|
+
"lint": "eslint src/**.ts",
|
|
66
|
+
"prepublishOnly": "pnpm clean && pnpm build",
|
|
67
|
+
"clean": "tsx scripts/clean.ts",
|
|
68
|
+
"types": "tsc --project tsconfig.build.json",
|
|
69
|
+
"tsc:watch": "tsc --project tsconfig.build.json --watch --noUnusedParameters false --noUnusedLocals false --preserveWatchOutput",
|
|
70
|
+
"test": "vitest run"
|
|
71
|
+
}
|
|
72
|
+
}
|