2.0.1 • Published 4 years ago
valid-setup v2.0.1
valid-setup
Pacakge intent to be used on
prepackage.jsonscripts
Check current npm version and current package.json modified date and execute npm install or npm rebuild or changes.
Create a package.lastSetup to make the diff. I recommand to put this file in .gitignore
Use cases
Ensure install deps if someone else add package
Use on package.json
{
"scripts": {
"prestart": "npx valid-setup",
"start": "start dev command"
}
}