Skip to content

Commit

Permalink
add preact as peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewStanciu committed Dec 13, 2023
1 parent ff7801c commit e202444
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"dependencies": {
"@types/react": "^18.2.22",
"date-fns": "^2.30.0",
"preact": "^10.19.3",
"react": "^18.2.0",
"rgb-hex": "3.0.0"
},
Expand All @@ -77,14 +78,18 @@
"typescript": "^5.3.3"
},
"peerDependencies": {
"react": ">=17.0.0",
"@types/react": ">=17.0.0",
"date-fns": ">=2.0.0"
"date-fns": ">=2.0.0",
"react": ">=17.0.0",
"preact": ">=10.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"preact": {
"optional": true
},
"@types/react": {
"optional": true
}
Expand Down

0 comments on commit e202444

Please sign in to comment.