I have a project that needs Node >= V14 and would like to prevent npm script execution if node version does not match.
Using .npmrc
and engines
in package.json
, I can prevent npm install
from running if node version does not match.
However, is there any way to prevent npm start
from executing if appropriate node version is not found?