@medijobs/check-engines
v1.0.1
Published
Never break your dependency tree with npm-install-checks running on npx
Downloads
69
Readme
@medijobs/check-engines
Never break your dependency tree with npm-install-checks running on npx.
📦 Install
This package is binary and doesn't require installation however you can add it to your repository as a devDependency
:
npm install --save-dev @medijobs/check-engines
🚀 Usage
All you have to do is run the script next to your package.json
:
npx @medijobs/check-engines
🔧 Configuration
The most common use case for this package is to let it run on install
and start
generic npm
scripts:
{
"scripts": {
"preinstall": "npx @medijobs/check-engines",
"prestart": "npx @medijobs/check-engines"
}
}
Or with less copy paste:
{
"scripts": {
"engines": "npx @medijobs/check-engines",
"preinstall": "npm run engines",
"prestart": "npm run engines"
}
}
🤝 Contributing
If you decide to fix a bug, make sure to use the conventional commit available at:
npm run push