Skip to content

Commit

Permalink
deps: Remove prop-types from devDependencies.
Browse files Browse the repository at this point in the history
We added it in 5b6014e to silence a peer-dep warning that
react-intl hasn't been throwing for a while:
  formatjs/formatjs#1382

Note that react-intl's package.json doesn't have prop-types in its
peerDependencies anymore:
  https://github.com/formatjs/formatjs/blob/react-intl%405.8.6/packages/react-intl/package.json#L144-L147

The package is for runtime checking for React props; we don't need
it because we use Flow:
  https://www.npmjs.com/package/prop-types
  • Loading branch information
chrisbobbe committed Jun 4, 2021
1 parent 0f83ab8 commit 28b42c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@
"prettier": "^1.18.2",
"prettier-eslint": "^12.0.0",
"prettier-eslint-cli": "^5.0.0",
"prop-types": "^15.7.2",
"react-dom": "16.11.0",
"react-native-cli": "^2.0.1",
"react-native-web": "^0.13.3",
Expand Down

0 comments on commit 28b42c9

Please sign in to comment.