Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

install-peers-cli

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

install-peers-cli

CLI to install project's peerDependencies, without side effects.

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
increased by15.63%
Maintainers
3
Weekly downloads
 
Created
Source

install-peers-cli

CLI to install project's peerDependencies, without side effects. Works with npm, yarn. Supports yarn workspaces flow.

Install

yarn

$ yarn add --dev install-peers-cli

npm

$ npm install --save-dev install-peers-cli

Usage

Add package.json script:

{
  "scripts": {
    "install-peers": "install-peers"
  }
}

Then run yarn install-peers (or npm run install-peers) to install peer dependencies of your project. It won't update lock files or modify package.json, keeping your setup pure and clean. Any other lifecycle script could be used depending on your use case.

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

License

Install-Peers-CLI is released under the MIT license.

Keywords

FAQs

Package last updated on 17 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc