npm.io
1.7.1 • Published 6 years agoCLI

promote-peer-dependencies

Licence
MIT
Version
1.7.1
Deps
3
Size
8 kB
Vulns
0
Weekly
0

promote-peer-dependencies

Searches registered dependencies for peers, and yarn adds them to your project.

Usage:

yarn global add promote-peer-dependencies
cd [your project root]
promote-peer-dependencies

Also, this tool is accessible in code:

const ppd = require('promote-peer-dependencies');
ppd();

Note There is a package npm-install-peers that predated this one and is designed for use as a global command line tool. This does that, but is available as a simple function via require() for integration into other projects.