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

bower-shrinkwrap-resolver

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower-shrinkwrap-resolver

Missing shrinkwrap for Bower

  • 0.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
35
increased by40%
Maintainers
1
Weekly downloads
 
Created
Source

bower-shrinkwrap-resolver

Missing shrinkwrap for Bower.

Integration

Bower must be >= 1.5 (tested on Bower 1.7.7).

  1. (within project directory) npm install bower-shrinkwrap-resolver --save-dev
  2. Add bower-shrinkwrap-resolver resolver to .bowerrc, like so:
{
  "resolvers": [
    "bower-shrinkwrap-resolver"
  ]
}

That's it.

If bower is installed globally - bower-shrinkwrap-resolver have to npm i -g ... too. Otherwise you'll get Cannot find module 'bower-shrinkwrap-resolver'.

Usage

bower install (with or without parameters) will automatically generate (and update) bower-shrinkwrap.json.

CLI

  • --no-shrinkwrap - ignore an available shrinkwrap file.
  • --strict-shrinkwrap - fail if bower tries to install dependency that is missing in bower-shrinkwrap.json.
  • --reset-shrinkwrap - regenerate bower-shrinkwrap.json (e.g. bower i --reset-shrinkwrap is equivalent to rm bower-shrinkwrap.json && bower i).

Debug logging can be turned with NODE_DEBUG=bower-shrinkwrap-resolver bower ....

License

MIT License

Keywords

FAQs

Package last updated on 26 May 2017

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