2025-11-28 10:32:28 +08:00
|
|
|
{
|
|
|
|
|
"name": "@esengine/physics-rapier2d",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "Deterministic 2D physics engine based on Rapier2D with enhanced-determinism",
|
2025-12-01 22:28:51 +08:00
|
|
|
"esengine": {
|
|
|
|
|
"plugin": true,
|
|
|
|
|
"pluginExport": "PhysicsPlugin",
|
|
|
|
|
"category": "physics"
|
|
|
|
|
},
|
2025-11-28 10:32:28 +08:00
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"module": "dist/index.js",
|
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"import": "./dist/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./runtime": {
|
|
|
|
|
"types": "./dist/runtime.d.ts",
|
|
|
|
|
"import": "./dist/runtime.js"
|
2025-12-01 22:28:51 +08:00
|
|
|
}
|
2025-11-28 10:32:28 +08:00
|
|
|
},
|
|
|
|
|
"files": [
|
2025-12-01 22:28:51 +08:00
|
|
|
"dist"
|
2025-11-28 10:32:28 +08:00
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
2025-12-01 22:28:51 +08:00
|
|
|
"build": "tsup",
|
|
|
|
|
"build:watch": "tsup --watch",
|
2025-11-28 10:32:28 +08:00
|
|
|
"type-check": "tsc --noEmit"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"ecs",
|
|
|
|
|
"physics",
|
|
|
|
|
"rapier2d",
|
|
|
|
|
"deterministic",
|
|
|
|
|
"game-physics",
|
|
|
|
|
"2d-physics"
|
|
|
|
|
],
|
|
|
|
|
"author": "yhh",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@dimforge/rapier2d-compat": "^0.14.0"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-12-01 22:28:51 +08:00
|
|
|
"@esengine/ecs-framework": "workspace:*",
|
|
|
|
|
"@esengine/engine-core": "workspace:*",
|
|
|
|
|
"@esengine/editor-core": "workspace:*",
|
|
|
|
|
"@esengine/build-config": "workspace:*",
|
2025-11-28 10:32:28 +08:00
|
|
|
"rimraf": "^5.0.0",
|
2025-12-01 22:28:51 +08:00
|
|
|
"tsup": "^8.0.0",
|
|
|
|
|
"typescript": "^5.8.3"
|
2025-11-28 10:32:28 +08:00
|
|
|
},
|
|
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public",
|
|
|
|
|
"registry": "https://registry.npmjs.org/"
|
|
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/esengine/ecs-framework.git",
|
|
|
|
|
"directory": "packages/physics-rapier2d"
|
|
|
|
|
}
|
|
|
|
|
}
|