Skip to content

Commit

Permalink
fix: Set minimum supported version of Node.js to 6
Browse files Browse the repository at this point in the history
reg-cli needs Node.js 6 or newer.
  • Loading branch information
prantlf committed Jan 29, 2018
1 parent 9ffe685 commit 810f758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ notifications:
node_js:
- '8'
- '6'
- '4'
before_install:
- npm install -g npm
before_script :
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 810f758

Please sign in to comment.