pliers-clean-shrinkwrap

Cleans shrinkwrap of repository URL

Usage no npm install needed!

<script type="module">
  import pliersCleanShrinkwrap from 'https://cdn.skypack.dev/pliers-clean-shrinkwrap';
</script>

README

pliers-clean-shrinkwrap

build status

Strips out 'resolved' from npmshrinkwraps

Installation

  npm install --save-dev pliers-clean-shrinkwrap

Usage

This will expose a new pliers task.

// within a pliers.js
module.exports = function (pliers) {

  pliers('cleanShrinkwrap', require('pliers-clean-shrinkwrap')(pliers))

}

Then from the cli

pliers cleanShrinkwrap

Will clean the npmshrinkwrap.json in the current directory.

Credits

Paul Serby follow me on twitter @serby

Licence

Licensed under the New BSD License