Skip to content

Commit

Permalink
feat: support Node 6 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Sep 24, 2017
1 parent 757eeb0 commit 475e842
Show file tree
Hide file tree
Showing 9 changed files with 3,261 additions and 987 deletions.
13 changes: 13 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
["env", {"targets": {"node": "6"}}]
],
"plugins": [
"transform-object-rest-spread"
],
"env": {
"test": {
"plugins": ["istanbul"]
}
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ typings/

# @std/esm
.esm-cache

# build directory
/lib/
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
language: node_js

node_js:
- 8
- 6

cache:
directories:
- node_modules

script:
- npm run build
- npm run lint
- npm test
- npm run test:coverage
Expand All @@ -13,8 +18,10 @@ deploy:
provider: npm
email: ybiquitous@gmail.com
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true
node: 6

notifications:
email: false
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env node

require('../src/cli')()
require('../lib/cli')()
Loading

0 comments on commit 475e842

Please sign in to comment.