Because some dependencies are stateful, they cannot be present twice in the dependency tree hierarchy. It can be considered as singleton dependency.
This gist aim to list all known singleton dependency to help developers write better packages.
peerDependencies must not be installed in dependencies
only when you are writing a module. (people will install in their application, and install those peerDependencies their self).
peerDependencies within modules should be installed as devDependencies and present in peerDependencies
Just post it as a comment.
-
@material-ui/core
-
@material-ui/icons
-
@material-ui/styles
-
connected-react-router
-
final-form
-
final-form-arrays
-
ra-core
-
ra-tree-core
-
ra-ui-materialui
-
react
-
react-dom
-
redux
-
redux-saga
-
react-redux
-
react-router
-
react-final-form
-
react-final-form-arrays
-
redux-form
-
styled-components
To add a
peerDependenciesjust reply a comment