79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
|
|
{
|
||
|
|
"name": "@esengine/physics-rapier2d",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"description": "Deterministic 2D physics engine based on Rapier2D with enhanced-determinism",
|
||
|
|
"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"
|
||
|
|
},
|
||
|
|
"./editor": {
|
||
|
|
"types": "./dist/editor/index.d.ts",
|
||
|
|
"import": "./dist/editor/index.js"
|
||
|
|
},
|
||
|
|
"./plugin.json": "./plugin.json"
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"dist",
|
||
|
|
"plugin.json"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
||
|
|
"build": "vite build",
|
||
|
|
"build:watch": "vite build --watch",
|
||
|
|
"type-check": "tsc --noEmit"
|
||
|
|
},
|
||
|
|
"keywords": [
|
||
|
|
"ecs",
|
||
|
|
"physics",
|
||
|
|
"rapier2d",
|
||
|
|
"deterministic",
|
||
|
|
"game-physics",
|
||
|
|
"2d-physics"
|
||
|
|
],
|
||
|
|
"author": "yhh",
|
||
|
|
"license": "MIT",
|
||
|
|
"peerDependencies": {
|
||
|
|
"@esengine/ecs-framework": ">=2.0.0",
|
||
|
|
"@esengine/ecs-components": "workspace:*",
|
||
|
|
"@esengine/editor-core": "workspace:*",
|
||
|
|
"react": "^18.3.1"
|
||
|
|
},
|
||
|
|
"peerDependenciesMeta": {
|
||
|
|
"@esengine/editor-core": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"react": {
|
||
|
|
"optional": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@dimforge/rapier2d-compat": "^0.14.0"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/react": "^18.3.12",
|
||
|
|
"@vitejs/plugin-react": "^4.7.0",
|
||
|
|
"rimraf": "^5.0.0",
|
||
|
|
"typescript": "^5.8.3",
|
||
|
|
"vite": "^6.0.7",
|
||
|
|
"vite-plugin-dts": "^4.5.0"
|
||
|
|
},
|
||
|
|
"publishConfig": {
|
||
|
|
"access": "public",
|
||
|
|
"registry": "https://registry.npmjs.org/"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://github.com/esengine/ecs-framework.git",
|
||
|
|
"directory": "packages/physics-rapier2d"
|
||
|
|
}
|
||
|
|
}
|