1.0.1 • Published 5 years ago

rewrite-lockfile v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

rewrite-lockfile

build status install size npm package version github license js semistandard style

Rewrite npm's lockfile/shrinkwrap to ensure secure registry urls are being used

Run

$ npx rewrite-lockfile <path>

Usage

In order to automatically rewrite lockfile on every installation, install it as dev dependency:

$ npm install --save-dev rewrite-lockfile

and add following script to your package.json:

{
  "scripts": {
    "postshrinkwrap": "rewrite-lockfile package-lock.json"
  }
}