From 810f758464e5797663a327566788f2ec5fa1b3e1 Mon Sep 17 00:00:00 2001 From: Ferdinand Prantl Date: Mon, 29 Jan 2018 03:05:31 +0100 Subject: [PATCH] fix: Set minimum supported version of Node.js to 6 reg-cli needs Node.js 6 or newer. --- .travis.yml | 1 - package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3acbaba..dcac127 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ notifications: node_js: - '8' - '6' - - '4' before_install: - npm install -g npm before_script : diff --git a/package.json b/package.json index 437b44b..0609163 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,10 @@ } ], "engines": { - "node": ">= 4" + "node": ">= 6" }, "scripts": { - "postinstall": "test `node --version | cut -c 2` -ne 4 && nsp check || echo 'No vulnerabilities check possible on Node.js 4'", + "postinstall": "nsp check", "test": "grunt", "coverage": "grunt instrument && GRUNT_REG_VIZ_COVERAGE=1 grunt", "coveralls": "test `node --version | cut -c 2` -eq 8 && npm run coverage && grunt coveralls",