diff --git a/.editorconfig b/.editorconfig index b306d046..f7ed8b47 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,8 +7,8 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -# Use tabs in JavaScript, CoffeeScript and JSON. -[**.{coffee,js,json}] +# Use tabs in JavaScript and JSON. +[**.{js,json}] indent_style = tab indent_size = 4 diff --git a/.travis.yml b/.travis.yml index 4ae5023f..d707c8bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,5 @@ sudo: false language: node_js node_js: - 'stable' + - '7' - '6' - - '5' - - '4' diff --git a/package.json b/package.json index 6eb511d1..57cdd5ca 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,13 @@ "bugs": "https://github.com/derhuerst/hafas-client/issues", "license": "ISC", "keywords": ["hafas", "public", "transport", "api", "mgate"], - "engines" : {"node": ">=4"}, + "engines" : {"node": ">=6"}, "dependencies": { "got": "^6.3", "moment-timezone": "^0.5.4" }, "scripts": { - "test": "node -e \"require('./index')\"", + "test": "node -e \"require('.')\"", "prepublish": "npm test" } }