Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

install-peers

alexindigo85.4kMIT1.0.4

Automatically installs project's peerDependencies (as devDependencies)

peerdependencies, peers, peerdeps, dev, devdeps, devdependencies, install, automatically, npm, yarn, nvm, local

readme

install-peers

Automatically installs project's peerDependencies (as devDependencies). Works with npm, yarn and nvm.

Install

npm

$ npm install --save-dev --ignore-scripts install-peers

yarn

$ yarn add --dev --ignore-scripts install-peers

Usage

Run npm install (or yarn install) to install prod and dev, as well as peer dependencies.

You still may see "unmet peer dependency" warnings, due to installation flow of npm/yarn.

Also it won't update lock (shrinkwrap) files or modify package.json, keeping your setup pure and clean.

License

Install-Peers is released under the MIT license.