Skip to content

Commit

Permalink
fix dependencies for yarn using peerDependenciesMeta
Browse files Browse the repository at this point in the history
  • Loading branch information
Bela Bohlender committed Aug 8, 2023
1 parent 54541c8 commit 652a744
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coconut-xr/xinteraction",
"version": "0.1.7",
"version": "0.1.8",
"homepage": "https://coconut-xr.github.io/xinteraction",
"license": "SEE LICENSE IN LICENSE",
"description": "interactions for three.js",
Expand Down Expand Up @@ -57,7 +57,17 @@
"npm-run-all": "^4.1.5"
},
"peerDependencies": {
"three": "*"
"three": "*",
"react": "*",
"@react-three/fiber": "*"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"@react-three/fiber": {
"optional": true
}
},
"main": "dist/index.js",
"exports": {
Expand Down

0 comments on commit 652a744

Please sign in to comment.