diff --git a/.babelrc b/.babelrc index e1c61b1..a86060a 100644 --- a/.babelrc +++ b/.babelrc @@ -2,29 +2,8 @@ "retainLines": true, "compact": true, "comments": false, - "plugins": [ - "syntax-async-functions", - "syntax-class-properties", - "syntax-trailing-function-commas", - "transform-class-properties", - "transform-es2015-arrow-functions", - "transform-es2015-block-scoping", - "transform-es2015-classes", - "transform-es2015-computed-properties", - "transform-es2015-constants", - "transform-es2015-destructuring", - ["transform-es2015-modules-commonjs", {"strict": false, "allowTopLevelThis": true}], - "transform-es2015-parameters", - "transform-es2015-shorthand-properties", - "transform-es2015-spread", - "transform-es2015-template-literals", - "transform-flow-strip-types", - "transform-object-assign", - "transform-object-rest-spread", - "transform-react-display-name", - "transform-react-jsx", - "transform-regenerator", - "transform-es2015-for-of" + "presets": [ + "airbnb" ], "sourceMaps": false } diff --git a/package.json b/package.json index 734626c..df378a5 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "devDependencies": { "babel": "^6.3.26", + "babel-core": "^6.5.2", "babel-jest": "^6.0.1", "babel-preset-airbnb": "^1.0.1", "chai": "^3.4.1",