rewrite-lockfile

1.0.1 • Public • Published

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"
  }
}

Package Sidebar

Install

npm i rewrite-lockfile

Weekly Downloads

84

Version

1.0.1

License

MIT

Unpacked Size

5.17 kB

Total Files

5

Last publish

Collaborators

  • vladimyr