From 1f8310b9db4f2fe316c45b2fba43320e88109c14 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 19 Jun 2019 13:31:59 +0200 Subject: [PATCH] use babel 7 --- remix-debug/package.json | 16 ++++++++++------ remix-lib/package.json | 18 ++++++++++-------- remix-solidity/package.json | 16 ++++++++++------ remix-tests/package.json | 2 +- 4 files changed, 31 insertions(+), 21 deletions(-) diff --git a/remix-debug/package.json b/remix-debug/package.json index 0c74224b3d..72b1d7e5c8 100644 --- a/remix-debug/package.json +++ b/remix-debug/package.json @@ -26,10 +26,14 @@ "web3": "0.20.6" }, "devDependencies": { - "babel-eslint": "^7.1.1", - "babel-plugin-transform-object-assign": "^6.22.0", - "babel-preset-es2015": "^6.24.0", - "babelify": "^7.3.0", + "@babel/core": "^7.4.5", + "babel-eslint": "^10.0.0", + "@babel/plugin-transform-object-assign": "^7.2.0", + "@babel/preset-env": "^7.4.5", + "@babel/preset-es2015": "latest", + "@babel/preset-es2017": "latest", + "@babel/preset-stage-0": "^7.0.0", + "babelify": "^10.0.0", "notify-error": "^1.2.0", "solc": "^0.5.0", "standard": "^7.0.1", @@ -77,7 +81,7 @@ } } ], - "transform-object-assign" + "module:@babel/plugin-transform-object-assign" ] } ], @@ -85,7 +89,7 @@ "babelify", { "presets": [ - "es2015" + "@babel/preset-env" ] } ] diff --git a/remix-lib/package.json b/remix-lib/package.json index 63c5b18c8c..0e3bfcd332 100644 --- a/remix-lib/package.json +++ b/remix-lib/package.json @@ -25,12 +25,14 @@ "web3": "0.20.6" }, "devDependencies": { - "babel-eslint": "^7.1.1", - "babel-plugin-transform-object-assign": "^6.22.0", - "babel-preset-env": "^1.6.1", - "babel-preset-es2015": "^6.24.0", - "babel-preset-stage-0": "^6.24.1", - "babelify": "^7.3.0", + "@babel/core": "^7.4.5", + "babel-eslint": "^10.0.0", + "@babel/plugin-transform-object-assign": "^7.2.0", + "@babel/preset-env": "^7.4.5", + "@babel/preset-es2015": "latest", + "@babel/preset-es2017": "latest", + "@babel/preset-stage-0": "^7.0.0", + "babelify": "^10.0.0", "standard": "^7.0.1", "tape": "^4.6.0" }, @@ -73,7 +75,7 @@ } } ], - "transform-object-assign" + "module:@babel/plugin-transform-object-assign" ] } ], @@ -81,7 +83,7 @@ "babelify", { "presets": [ - "es2015" + "@babel/preset-env" ] } ] diff --git a/remix-solidity/package.json b/remix-solidity/package.json index fde8bf8f95..89ae08b7c3 100644 --- a/remix-solidity/package.json +++ b/remix-solidity/package.json @@ -22,10 +22,14 @@ "webworkify": "^1.2.1" }, "devDependencies": { - "babel-eslint": "^7.1.1", - "babel-plugin-transform-object-assign": "^6.22.0", - "babel-preset-es2015": "^6.24.0", - "babelify": "^7.3.0", + "@babel/core": "^7.4.5", + "babel-eslint": "^10.0.0", + "@babel/plugin-transform-object-assign": "^7.2.0", + "@babel/preset-env": "^7.4.5", + "@babel/preset-es2015": "latest", + "@babel/preset-es2017": "latest", + "@babel/preset-stage-0": "^7.0.0", + "babelify": "^10.0.0", "standard": "^7.0.1", "tape": "^4.6.0" }, @@ -66,7 +70,7 @@ } } ], - "transform-object-assign" + "module:@babel/plugin-transform-object-assign" ] } ], @@ -74,7 +78,7 @@ "babelify", { "presets": [ - "es2015" + "@babel/preset-env" ] } ] diff --git a/remix-tests/package.json b/remix-tests/package.json index dbd6a721e5..8e03898fe6 100644 --- a/remix-tests/package.json +++ b/remix-tests/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^5.2.5", "@types/node": "^10.12.21", "@types/web3": "^1.0.18", - "babel-preset-es2017": "^6.24.1", + "@babel/preset-es2017": "latest", "mocha": "^5.1.0", "standard": "^10.0.3", "ts-node": "^8.0.2",