Build: Update to Babel 7, use for-of plugin instead of preset-es2015

Closes gh-3786
This commit is contained in:
Henry Zhu 2017-09-25 13:02:19 -04:00 committed by Michał Gołębiowski-Owczarek
parent 94ddf62022
commit 90bac40a51
4 changed files with 423 additions and 849 deletions

View File

@ -1,3 +0,0 @@
{
"presets": ["es2015"]
}

View File

@ -36,7 +36,8 @@ module.exports = function( grunt ) {
babel: {
options: {
sourceMap: "inline",
retainLines: true
retainLines: true,
plugins: [ "transform-es2015-for-of" ]
},
nodeSmokeTests: {
files: {

1261
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,13 +25,14 @@
"license": "MIT",
"dependencies": {},
"devDependencies": {
"babel-preset-es2015": "6.24.1",
"babel-core": "7.0.0-beta.0",
"babel-plugin-transform-es2015-for-of": "7.0.0-beta.0",
"commitplease": "2.7.10",
"core-js": "2.4.1",
"cross-spawn": "5.1.0",
"eslint-config-jquery": "1.0.1",
"grunt": "1.0.1",
"grunt-babel": "6.0.0",
"grunt-babel": "7.0.0",
"grunt-cli": "1.2.0",
"grunt-compare-size": "0.4.2",
"grunt-contrib-uglify": "3.0.1",