diff --git a/package.json b/package.json index 5fe3846..3d716da 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "supervisor": "^0.12.0" }, "engines": { - "node": ">=10.0.0 <14.0.0" + "node": ">=12.0.0 <14.0.0" }, "husky": { "hooks": { diff --git a/src/index.js b/src/index.js index 588111a..cde9e0e 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,7 @@ // Verify NodeJS version const nodeMajorVersion = parseInt(process.versions.node.split(".")[0], 10); -if (nodeMajorVersion < 11) { - console.error("Unsupported NodeJS version! Please install Node.js 11, 12, 13, or 14."); +if (nodeMajorVersion < 12) { + console.error("Unsupported NodeJS version! Please install Node.js 12, 13, or 14."); process.exit(1); }