Add Node.js 7 to package.json and .travis.yml

Added Node.js 7 to package.json. This way yarn will not complain when
Node.js 7 is used. Tests still pass and the code itself also works
on Node.js 7.

Configure Travis CI to run the build on Node.js 7 too, in order to
verify correctness.
This commit is contained in:
Edgars Zagorskis 2017-06-20 12:18:10 +03:00 committed by Miroslav Bajtoš
parent f49752780b
commit 6d5fedb85e
No known key found for this signature in database
GPG Key ID: 6F2304BA9361C7E3
2 changed files with 2 additions and 1 deletions

View File

@ -3,3 +3,4 @@ language: node_js
node_js: node_js:
- "4" - "4"
- "6" - "6"
- "7"

View File

@ -3,7 +3,7 @@
"version": "3.1.0", "version": "3.1.0",
"description": "Current context for LoopBack applications, based on cls-hooked", "description": "Current context for LoopBack applications, based on cls-hooked",
"engines": { "engines": {
"node": "^4.5 || ^5.10 || ^6.0" "node": "^4.5 || ^5.10 || ^6.0 || ^7.0"
}, },
"keywords": [ "keywords": [
"StrongLoop", "StrongLoop",