diff --git a/.babelrc b/.babelrc index e7b1998..ad0ec08 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,4 @@ { - "presets": ["es2015-node4"] + "presets": ["es2015"], + "plugins": ["add-module-exports"] } diff --git a/.travis.yml b/.travis.yml index f6312f4..68a60e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/package.json b/package.json index 5b8a731..095b4bc 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -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",