Prevent user from installing your package without required executables
- Node.js ≥ 8.9.0
Add this to your package.json
:
{
"dependencies": {
"require-external-programs": "<version range>"
},
"requireExternalPrograms": [
"git",
"python"
]
}
- This package assumes you run
npm install
at the root of your project.