Skip to content

Commit

Permalink
feat(package): Add support for older NodeJS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Jan 27, 2016
1 parent 46eb893 commit 4b23cb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["es2015-node4"]
"presets": ["es2015"],
"plugins": ["add-module-exports"]
}
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ notifications:
email: true
node_js:
- stable
- 5
- 4
- 0.12
- 0.10
before_install:
- npm install -g npm@latest
before_script:
- npm prune
after_success:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "passport-reddit-token",
"version": "0.0.0-semantic-release",
"description": "Passport strategy for authenticating with Reddit via OAuth2 access tokens",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -31,7 +32,8 @@
},
"devDependencies": {
"babel-cli": "6.4.5",
"babel-preset-es2015-node4": "2.0.3",
"babel-plugin-add-module-exports": "0.1.2",
"babel-preset-es2015": "6.3.13",
"chai": "3.4.1",
"chai-passport-strategy": "0.2.0",
"coveralls": "2.11.6",
Expand Down

0 comments on commit 4b23cb0

Please sign in to comment.