@playcanvas/react
Version:
A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.
109 lines • 2.43 kB
JSON
{
"name": "@playcanvas/react",
"description": "A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.",
"homepage": "https://playcanvas-react.vercel.app",
"version": "0.4.2",
"license": "MIT",
"type": "module",
"sideEffects": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"2d",
"3d",
"react",
"react-native",
"gaussian",
"game",
"gltf",
"splatting",
"webgl",
"webgl2",
"webgpu",
"webxr"
],
"engines": {
"node": ">=18.0.0"
},
"bugs": {
"url": "https://github.com/playcanvas/react/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/playcanvas/react",
"directory": "packages/lib"
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./components": {
"types": "./dist/components/index.d.ts",
"import": "./dist/components/index.js"
},
"./scripts": {
"types": "./dist/scripts/index.d.ts",
"import": "./dist/scripts/index.js"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.js"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.js"
}
},
"typesVersions": {
"*": {
"components": [
"./dist/components/index.d.ts"
],
"scripts": [
"./dist/scripts/index.d.ts"
],
"utils": [
"./dist/utils/index.d.ts"
],
"hooks": [
"./dist/hooks/index.d.ts"
]
}
},
"peerDependencies": {
"playcanvas": "~2.8.0",
"react": "^18.3.1 || ^19.1.0",
"react-dom": "^18.3.1 || ^19.1.0",
"sync-ammo": "^0.1.2"
},
"peerDependenciesMeta": {
"sync-ammo": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.3.0",
"@types/node": "22.15.32",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@vitejs/plugin-react": "4.5.2",
"@vitest/coverage-v8": "3.2.3",
"jsdom": "26.1.0",
"pkg-pr-new": "0.0.51",
"vitest": "3.2.3"
},
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
}
}