title: what should be peer dependencies when creating libs in webpack?
body: <p>We're creating reusable react components. Each component is wrapped as a npm lib with webpack.
  Should each one of these libs mark its dependencies as peer dependencies and expect the application to install them when using it? Or, should they be regular dependencies? In that case- are we risking duplicate node modules?
  A good examples would be react-
  1. a component we wrap as a lib requires react
  2. the app using this lib requires react
  Should react be a peer dependency or dependency in the lib?</p>