Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collaborne/npm-warn-shrinkwrap
https://github.com/collaborne/npm-warn-shrinkwrap
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/collaborne/npm-warn-shrinkwrap
- Owner: Collaborne
- License: mit
- Created: 2017-01-02T10:21:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T21:35:39.000Z (over 1 year ago)
- Last Synced: 2024-09-28T17:09:18.702Z (about 1 month ago)
- Language: JavaScript
- Size: 150 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
}