From dc99863de834fbefd97c27ad6cf5ec4da206306c Mon Sep 17 00:00:00 2001 From: Mickael Jeanroy Date: Tue, 4 Sep 2018 17:09:07 +0200 Subject: [PATCH] chore: upgrade to babel 7 - Update babel dependencies, remove old ones. - Remove node 4 and 5 from travis matrix as it is not supported anymore by babel. --- .babelrc | 4 +++- .travis.yml | 2 -- package.json | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.babelrc b/.babelrc index 002b4aa0..a29ac998 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,5 @@ { - "presets": ["env"] + "presets": [ + "@babel/preset-env" + ] } diff --git a/.travis.yml b/.travis.yml index 9bdf212d..d46d1cfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: node_js node_js: - - "4" - - "5" - "6" - "7" - "8" diff --git a/package.json b/package.json index 38f72743..1cd932ab 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,8 @@ "prettier": "^1.0.0" }, "devDependencies": { + "@babel/core": "7.0.0", + "@babel/preset-env": "7.0.0", "babel-core": "6.26.0", "babel-preset-env": "1.6.1", "del": "3.0.0", @@ -37,7 +39,7 @@ "eslint-config-google": "0.9.1", "fancy-log": "1.3.2", "gulp": "3.9.1", - "gulp-babel": "7.0.1", + "gulp-babel": "8.0.0", "gulp-bump": "3.1.1", "gulp-eslint": "4.0.2", "gulp-git": "2.8.0",