Upgrade to Babel 7

This commit is contained in:
Pig Fang 2018-08-28 10:00:58 +08:00
parent bc8319e20e
commit f9db70676c
3 changed files with 425 additions and 406 deletions

View File

@ -10,9 +10,7 @@
"@babel/syntax-dynamic-import", "@babel/syntax-dynamic-import",
["@babel/plugin-transform-runtime", { ["@babel/plugin-transform-runtime", {
"helpers": true, "helpers": true,
"polyfill": false, "regenerator": true
"regenerator": true,
"moduleName": "@babel/runtime"
}] }]
], ],
"env": { "env": {

View File

@ -22,7 +22,7 @@
"uglify-es": "npm:terser" "uglify-es": "npm:terser"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.0.0-beta.55", "@babel/runtime": "^7.0.0",
"@fortawesome/fontawesome-free": "^5.2.0", "@fortawesome/fontawesome-free": "^5.2.0",
"admin-lte": "^2.4.2", "admin-lte": "^2.4.2",
"bootstrap": "^3.3.7", "bootstrap": "^3.3.7",
@ -40,10 +40,10 @@
"whatwg-fetch": "^2.0.4" "whatwg-fetch": "^2.0.4"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.0.0-beta.54", "@babel/core": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.54", "@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0-beta.55", "@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0-beta.54", "@babel/preset-env": "^7.0.0",
"@types/archiver": "^2.1.2", "@types/archiver": "^2.1.2",
"@types/execa": "^0.9.0", "@types/execa": "^0.9.0",
"@types/jest": "^23.3.1", "@types/jest": "^23.3.1",

817
yarn.lock

File diff suppressed because it is too large Load Diff