You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

check-lock-change

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-lock-change

Reminds you to rerun `npm ci` locally by checking whether the npm lockfile has changed.

0.2.4
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

check-lock-change

NPM Version NPM Downloads License

Reminds you to rerun npm ci locally by checking whether the npm lockfile has changed.

  • Install the package to your project.
npm install -D check-lock-change
  • Config scripts in package.json. Note that LOCK_FILE can be either package-lock.json, npm-shrinkwrap.json, or yarn.lock.
{
  "scripts": {
    "dev": "check-lock-change [LOCK_FILE] && [OTHER DEV COMMANDS]",
    "prepare": "[OTHER PREPARE COMMANDS] && cp -rf [LOCK_FILE] lockfile.copy"
  }
}
  • Add lockfile.copy to your .gitignore file.

FAQs

Package last updated on 10 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts