npm.io
1.2.0 • Published 3 years agoCLI

@khulnasoft-opensource/check-engines

Licence
MIT
Version
1.2.0
Deps
1
Size
7 kB
Vulns
0
Weekly
0

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"
  }
}