This is the essential item for the brave soul who can only sleep at night because they’ve been overthinking the question:
- "Why do I need 'resolved' when 'integrity' is already in package-lock.json?"
Install in devDepencencies:
npm install -D resolved-killerOr install CLI globally:
npm install -g resolved-killerNext, add the CLI to your package.json:
{
"scripts": {
"dependencies": "reskill"
}
}And run npm install to raise the killer:
npm install$ reskill --help
resolved-killer
Copyright (c) Kouji Matsui (@kekyo@mi.kekyo.net)
https://github.com/kekyo/resolved-killer
License: Under MIT
Usage: reskill [options] [package-lock.json]
Options:
-f, --force Remove resolved fields even when integrity is missing.
-?, --help Show this usage.Under MIT.