Node 6+, cleanup

This commit is contained in:
Jannis R 2016-12-14 00:22:02 +01:00
parent c3a772e703
commit efe2111f4e
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
3 changed files with 5 additions and 6 deletions

View file

@ -7,8 +7,8 @@ charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
# Use tabs in JavaScript, CoffeeScript and JSON. # Use tabs in JavaScript and JSON.
[**.{coffee,js,json}] [**.{js,json}]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4

View file

@ -2,6 +2,5 @@ sudo: false
language: node_js language: node_js
node_js: node_js:
- 'stable' - 'stable'
- '7'
- '6' - '6'
- '5'
- '4'

View file

@ -10,13 +10,13 @@
"bugs": "https://github.com/derhuerst/hafas-client/issues", "bugs": "https://github.com/derhuerst/hafas-client/issues",
"license": "ISC", "license": "ISC",
"keywords": ["hafas", "public", "transport", "api", "mgate"], "keywords": ["hafas", "public", "transport", "api", "mgate"],
"engines" : {"node": ">=4"}, "engines" : {"node": ">=6"},
"dependencies": { "dependencies": {
"got": "^6.3", "got": "^6.3",
"moment-timezone": "^0.5.4" "moment-timezone": "^0.5.4"
}, },
"scripts": { "scripts": {
"test": "node -e \"require('./index')\"", "test": "node -e \"require('.')\"",
"prepublish": "npm test" "prepublish": "npm test"
} }
} }