Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/collaborne/npm-warn-shrinkwrap


https://github.com/collaborne/npm-warn-shrinkwrap

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# npm-warn-shrinkwrap

Check whether a `npm-shrinkwrap.json` exists in the current directory, and warn if so.

This is intended for environments where the shrinkwrapping process only happens on CI steps, but where developers should _not_ use `npm shrinkwrap`.

## Install

~~~~
npm install --save-dev npm-warn-shrinkwrap
~~~~

## Usage

Configure this in `package.json` in the `install` script:

```js
{
...,
"scripts": {
"install": "npm-warn-shrinkwrap"
}
}