1.2.0 • Published 8 months ago

@khulnasoft-opensource/check-engines v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

📦 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 @khulnasoft-opensource/check-engines

🚀 Usage

All you have to do is run the script next to your package.json:

npx @khulnasoft-opensource/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 @khulnasoft-opensource/check-engines",
    "prestart": "npx @khulnasoft-opensource/check-engines"
  }
}

Or with less copy paste:

{
  "scripts": {
    "engines": "npx @khulnasoft-opensource/check-engines",
    "preinstall": "npm run engines",
    "prestart": "npm run engines"
  }
}
1.2.0

8 months ago