From 3b56f6329c78e6443ff81e904c9fc3aee82312b9 Mon Sep 17 00:00:00 2001 From: Friedel Ziegelmayer Date: Sun, 26 Jun 2016 17:45:39 +0200 Subject: [PATCH] test(deps): upgrade to babel@6 --- .babelrc | 3 +++ gruntfile.js | 4 +--- package.json | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 000000000..c13c5f627 --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["es2015"] +} diff --git a/gruntfile.js b/gruntfile.js index 6d644cf4d..8aa62d646 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -28,9 +28,7 @@ module.exports = function (grunt) { }, mochaTest: { options: { - require: [ - 'babel/register' - ], + require: 'babel-register', reporter: 'dot', ui: 'bdd', quiet: false, diff --git a/package.json b/package.json index cca7dcbe3..3ca5fcc65 100644 --- a/package.json +++ b/package.json @@ -310,7 +310,9 @@ }, "devDependencies": { "LiveScript": "^1.3.0", - "babel": "^5.6.23", + "babel": "^6.5.2", + "babel-preset-es2015": "^6.9.0", + "babel-register": "^6.9.0", "chai": "^3.3.0", "chai-as-promised": "^5.0.0", "chai-subset": "^1.2.2",