Skip to content

Commit

Permalink
Fixes developit#262, add preact and react as optional peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
blutorange committed Feb 4, 2025
1 parent d62dcfd commit baaf72d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@
"author": "Jason Miller <jason@developit.ca>",
"license": "Apache-2.0",
"homepage": "https://github.com/developit/htm",
"peerDependencies": {
"preact": "^10.0.0",
"react": "^16.0.0"
},
"peerDependenciesMeta": {
"preact": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.1.6",
Expand Down

0 comments on commit baaf72d

Please sign in to comment.