diff --git a/.travis.yml b/.travis.yml index 1608319..0a7a3c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: node_js node_js: - - "7.0" - - "7.4" - - "7.5" + - "7.6" + - "7.7" script: - npm run lint - npm run test diff --git a/appveyor.yml b/appveyor.yml index f24e51c..1a89ce0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,6 @@ environment: matrix: - - nodejs_version: "7.0" - - nodejs_version: "7.4" - - nodejs_version: "7.5" + - nodejs_version: "7.7" install: - ps: Install-Product node $env:nodejs_version - npm install diff --git a/package.json b/package.json index 2c72fa2..83093ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yeps-router", - "version": "0.0.5", + "version": "1.0.0", "description": "YEPS promise based router", "main": "index.js", "scripts": { @@ -8,8 +8,8 @@ "lint:js": "./node_modules/.bin/eslint index.js tests", "test": "./node_modules/.bin/npm-run-all --parallel test:**", "test:security": "./node_modules/.bin/nsp check", - "test:code": "node --harmony ./node_modules/mocha/bin/_mocha tests --recursive", - "test:coverage": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- tests --recursive", + "test:code": "node ./node_modules/mocha/bin/_mocha tests --recursive", + "test:coverage": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- tests --recursive", "report": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", "clear": "./node_modules/.bin/rimraf coverage", "precommit": "npm run lint && npm test", @@ -41,6 +41,9 @@ "files": [ "index.js" ], + "engines": { + "node": ">=7.6.0" + }, "devDependencies": { "chai": "^3.5.0", "chai-http": "^3.0.0", @@ -59,7 +62,7 @@ }, "dependencies": { "path-to-regexp": "^1.7.0", - "yeps": "*", - "yeps-error": "*" + "yeps": "^1.0.0", + "yeps-error": "^1.0.0" } }