From e4011e93d8288387ef637bdd15ff01c121836e44 Mon Sep 17 00:00:00 2001 From: greenkeeperio-bot Date: Thu, 31 Mar 2016 20:07:59 -0700 Subject: [PATCH 1/2] chore(package): update dependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd2b9ba..12c2859 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "request-promise": "^2.0.0" }, "devDependencies": { - "babel": "^5.8.29", + "babel": "^6.5.2", "jshint": "^2.8.0", "mocha": "^2.3.3" } From 57a863b6abeaed23d1697c8b3409ac5ae6622f97 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Sat, 2 Apr 2016 16:18:42 -0700 Subject: [PATCH 2/2] Update to Babel 6 --- .babelrc | 4 ++++ package.json | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..8056443 --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "plugins": [ "add-module-exports" ], + "presets": [ "es2015" ] +} diff --git a/package.json b/package.json index 12c2859..311e3a6 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "compile": "rm -rf lib/ && babel -d lib/ src/", "watch": "babel --watch -d lib/ src/", "jshint": "jshint src/. test/. --config", - "mocha": "mocha test/ --compilers js:babel/register", + "mocha": "mocha test/ --compilers js:babel-core/register", "test": "npm run jshint && npm run mocha" }, "directories": { @@ -50,7 +50,10 @@ "request-promise": "^2.0.0" }, "devDependencies": { - "babel": "^6.5.2", + "babel-cli": "^6.6.5", + "babel-core": "^6.7.4", + "babel-plugin-add-module-exports": "^0.1.2", + "babel-preset-es2015": "^6.6.0", "jshint": "^2.8.0", "mocha": "^2.3.3" }