From cb206dcb5dc8fe872a02e55c1519c5b4b4480849 Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Tue, 9 Jan 2018 15:14:32 +0800 Subject: [PATCH] restore package.json babel --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package.json b/package.json index a77d20d3..7c0ad688 100755 --- a/package.json +++ b/package.json @@ -87,6 +87,16 @@ "optionalDependencies": { "nightmare": "^2.10.0" }, + "babel": { + "presets": [ + "@babel/preset-env", + "@babel/preset-react" + ], + "plugins": [ + "transform-decorators-legacy", + "transform-class-properties" + ] + }, "jest": { "setupFiles": [ "/tests/setupTests.js" -- GitLab