Check if your `node_modules` is stale.
MIT License
Check if your node_modules
is stale.
Using npx
you can run the script without installing it first:
npx stale-dep
stale-dep -u
: store the current dependencies status.
stale-dep
: check if dependencies status is changed comparing to previous stored.
stale-dep
to the projectnpm install -D stale-dep
stale-dep
to your package.json.{
"scripts": {
"build": "stale-dep && some build command",
"dev": "stale-dep && some dev command",
// ...
"postinstall": "stale-dep -u",
},
}