Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/stale-dep. Check if your node_modules is stale.
Something went wrong. Try again.
Files
- TypeScript 99%
- JavaScript 1%
README.md
stale-dep #
Check if your node_modules is stale.
Running on-demand #
Using npx you can run the script without installing it first:
npx stale-dep
Usage #
stale-dep -u: store the current dependencies status.
stale-dep: check if dependencies status is changed comparing to previous stored.
Add stale-dep to the project #
- Install stale-dep as a dev dependency:
npm install -D stale-dep
- Add
stale-depto your package.json.
{
"scripts": {
"build": "stale-dep && some build command",
"dev": "stale-dep && some dev command",
// ...
"postinstall": "stale-dep -u",
},
}
Sponsors #
License #
MIT License © 2023-PRESENT Kevin Deng