mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
src/three/scene.ts imports three/examples/jsm/loaders/HDRLoader.js, added in three 0.180; with three 0.170-0.179, inside the old range, every <R3F> scene fails to bundle.
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"name": "@raea/r3f",
|
|
"license": "FSL-1.1-ALv2",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"description": "React Three Fiber both ways (docs/r3f.feature): <R3F> draws an R3F scene with raea, <Raea> and the three.js host (src/three) draw raea's 3D in R3F or any three.js app, loadShapes meshes raea's solids for them (tools/shape-wasm.sh).",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./three": "./src/three/index.ts",
|
|
"./export": "./src/export/index.ts"
|
|
},
|
|
"//": "In a project, three and @react-three/fiber are its own (raea add [email protected] @react-three/[email protected]): the bundler resolves them from the project, so a scene and raea share one copy. Here, for the package's tests and tsc, React is the SDK's own (sdk/raea), linked; sdk/playable's bundler resolves three to its own copy, so a playable carries one.",
|
|
"peerDependencies": {
|
|
"@react-three/fiber": ">=9.0.0",
|
|
"three": ">=0.180.0"
|
|
},
|
|
"devDependencies": {
|
|
"@react-three/drei": "10.7.9",
|
|
"@react-three/fiber": "9.8.2",
|
|
"@react-three/postprocessing": "3.2.2",
|
|
"@types/bun": "1.4.3",
|
|
"@types/react-dom": "19.2.0",
|
|
"@types/three": "0.185.0",
|
|
"lettra": "0.3.0",
|
|
"postprocessing": "6.39.5",
|
|
"react": "file:../raea/node_modules/react",
|
|
"react-dom": "file:../raea/node_modules/react-dom",
|
|
"scheduler": "file:../raea/node_modules/scheduler",
|
|
"three": "0.185.0"
|
|
}
|
|
}
|