Skip to content

Commit

Permalink
Move @types/react to be an optional peer dependency
Browse files Browse the repository at this point in the history
Closes #18
  • Loading branch information
sindresorhus committed Oct 19, 2019
1 parent 45c04a1 commit 66a053f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@
"react",
"component"
],
"dependencies": {
"@types/react": "^16.8.12"
},
"devDependencies": {
"@types/react": "^16.9.9",
"ava": "^2.4.0",
"tsd": "^0.9.0",
"xo": "^0.25.3"
},
"peerDependencies": {
"@types/react": ">=16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}

0 comments on commit 66a053f

Please sign in to comment.