valid-setup
v2.0.1
Published
auto-install packages and rebuild if changes happen
Downloads
3
Readme
valid-setup
Pacakge intent to be used on
pre
package.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"
}
}