1.0.1 • Published 2 years ago
@tmcb/check-engines v1.0.1
@tmcb/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 @tmcb/check-engines🚀 Usage
All you have to do is run the script next to your package.json:
npx @tmcb/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 @tmcb/check-engines",
"prestart": "npx @tmcb/check-engines"
}
}Or with less copy paste:
{
"scripts": {
"engines": "npx @tmcb/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