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-enginesAll you have to do is run the script next to your package.json:
npx @tmcb/check-enginesThe 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"
}
}If you decide to fix a bug, make sure to use the conventional commit available at:
npm run push