follow-engine-strict
v0.1.0
Published
When run `npm build` or another js commands with different node version, this package will exit the process
Downloads
10
Readme
Description
When you run npm scripts like npm run build with engineStricts, this package check the difference between your current node version and the version written in package json.
And then, there is difference, this package exit the process.
Usage
- Set "engineStricts":true and "engines":{"node":"xx.xx.xx"}" on package.json
- Import package
const followEngineStrict = require ('follow-engine-strict') - Excute function
followEngineStrict()
