Skip to content

Commit f29b28d

Browse files
committed
use peerDeps
1 parent 1a6e0d9 commit f29b28d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"prepublish": "yarn build",
2525
"commit": "lint-staged"
2626
},
27-
"dependencies": {
28-
"prop-types": "^15.6.0",
29-
"react": "^16.2.0"
27+
"peerDependencies": {
28+
"prop-types": "^15.0.0",
29+
"react": "^14.0.0 || ^15.0.0 || ^16.0.0"
3030
},
3131
"devDependencies": {
3232
"babel-cli": "^6.26.0",
@@ -43,7 +43,9 @@
4343
"jest": "^21.2.1",
4444
"lint-staged": "^6.0.0",
4545
"prettier": "^1.9.1",
46+
"prop-types": "^15.6.0",
4647
"raf": "^3.4.0",
48+
"react": "^16.2.0",
4749
"react-dom": "^16.2.0"
4850
},
4951
"lint-staged": {

0 commit comments

Comments
 (0)