Skip to content

Commit

Permalink
Fix babel transpilation of async/await to be compatible with node 6.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-friedl committed Jun 17, 2018
1 parent 0f46de5 commit cec27a3
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 448 deletions.
8 changes: 7 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"presets": ["es2015"]
"presets": [
["env", {
"targets": {
"node": "6"
}
}]
]
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
node_js:
- "node"
- "8"
- "6"
script:
- npm run build
- npm run test-cover
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ A node.js module for interfacing with Apple Push Notification, Google Cloud Mess
npm install node-pushnotifications --save
```

## Requirements

Node version >= 6.x.x

## Features

- Powerful and intuitive.
Expand Down
Loading

0 comments on commit cec27a3

Please sign in to comment.