From f61090219f31cb8b3da66ae9890391c1c75fde2d Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 9 Jan 2018 11:01:17 +0800 Subject: [PATCH] Fix babel 7 issue, facebook/jest#4557 --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b80ba453..7c0ad688 100755 --- a/package.json +++ b/package.json @@ -46,8 +46,10 @@ "react-fittext": "^1.0.0" }, "devDependencies": { - "@babel/preset-env": "7.0.0-beta.36", - "@babel/preset-react": "7.0.0-beta.36", + "@babel/core": "^7.0.0-beta.37", + "@babel/preset-env": "^7.0.0-beta.36", + "@babel/preset-react": "^7.0.0-beta.36", + "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^8.1.2", "babel-jest": "^22.0.4", "babel-plugin-dva-hmr": "^0.4.1", @@ -75,6 +77,7 @@ "pro-download": "^1.0.1", "react-test-renderer": "^16.2.0", "redbox-react": "^1.5.0", + "regenerator-runtime": "^0.11.1", "roadhog": "^2.0.6", "roadhog-api-doc": "^0.3.4", "rollbar": "^2.3.4", -- GitLab