Skip to content

Instantly share code, notes, and snippets.

@kopax
Last active October 2, 2019 13:43
Show Gist options
  • Save kopax/c814374c5f34c230049e661d5a942129 to your computer and use it in GitHub Desktop.
Save kopax/c814374c5f34c230049e661d5a942129 to your computer and use it in GitHub Desktop.
list of all known peer dependencies in npm

list of all known peer dependencies in npm

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

How can I add an item in the list

Just post it as a comment.

List all dependencies

  • @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 peerDependencies just reply a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment