transitive-peerdeps
List and install peerDependencies of your direct dependencies
Last updated 2 months ago by alxlchnr .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install transitive-peerdeps 
SYNC missed versions from official npm registry.

CLI tool to automatically install the peerDependencies of your direct dependencies. It will search the package.json of your project, and then will check the package.json of your installed dependencies for listed peerDependencies. These peerDependencies can then be installed via npm install command, if they are not already dependencies of your project.

When a peerDependency is referenced by several of your dependencies, only the newest version or version range will be applied.

Usage

npm i -g transitive-peerdeps

// execute in the working directory of your project
transitive-peerdeps

Prerequesities

Before executing ensure, that you have installed the dependencies/run npm install in the project.

Options

  • --cwd: Working directory, of where the tool should look for a package.json and checks for peerDependencies of your dependencies
  • --depFilter: regex pattern to process only peerDependencies of dependencies matching the pattern
  • --peerDepFilter: regex pattern to install only peerDependencies matching the pattern
  • --dryRun: skip the install step.
  • --force: install peerDependencies regardless if they are already part of your package.json and therefore already installed.

Current Tags

  • 0.3.1                                ...           latest (2 months ago)

10 Versions

  • 0.3.1                                ...           2 months ago
  • 0.3.0                                ...           2 months ago
  • 0.2.0                                ...           2 months ago
  • 0.1.3                                ...           2 months ago
  • 0.1.2                                ...           2 months ago
  • 0.1.1                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
  • 0.0.3                                ...           2 months ago
  • 0.0.2                                ...           2 months ago
  • 0.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 116
Dependencies (16)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |