npm.io
1.0.4 • Published 4 years ago

install-peers

Licence
MIT
Version
1.0.4
Deps
1
Size
8 kB
Vulns
0
Weekly
0
Stars
39
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

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.

Keywords