Skip to content

Commit

Permalink
Moves prop-types to dependencies as per official recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Jan 14, 2020
1 parent 2cba514 commit 77a0dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"dependencies": {
"element-resize-detector": "^1.1.16",
"invariant": "^2.2.4",
"prop-types": "^15.7.2",
"shallowequal": "^1.1.0",
"throttle-debounce": "^2.1.0"
},
"peerDependencies": {
"prop-types": "^15.0.0-0",
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0-0 || ^16.0.0"
},
Expand Down Expand Up @@ -76,7 +76,6 @@
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"pretty-bytes": "5.3.0",
"prop-types": "^15.5.10",
"ramda": "^0.26.1",
"react": "^16.12.0",
"react-addons-test-utils": "^15.6.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5276,7 +5276,7 @@ prop-types-exact@^1.2.0:
object.assign "^4.1.0"
reflect.ownkeys "^0.2.0"

prop-types@^15.5.10, prop-types@^15.6.2, prop-types@^15.7.2:
prop-types@^15.6.2, prop-types@^15.7.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
Expand Down

0 comments on commit 77a0dcb

Please sign in to comment.