diff --git a/.babelrc b/.babelrc index 7bff196..6df2603 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,7 @@ { - "presets": ["es2015", "react", "stage-1"] + "presets": ["es2015", "react", "stage-1"], + "plugins": [ + "transform-es3-member-expression-literals", + "transform-es3-property-literals" + ] } diff --git a/package.json b/package.json index 2d5e354..010c88f 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,12 @@ ], "devDependencies": { "babel-cli": "^6.1.2", - "babel-core": "^6.2.1", + "babel-core": "^6.7.4", "babel-eslint": "^4.1.6", "babel-loader": "^6.2.0", - "babel-polyfill": "^6.3.14", + "babel-plugin-transform-es3-member-expression-literals": "^6.5.0", + "babel-plugin-transform-es3-property-literals": "^6.5.0", + "babel-polyfill": "^6.7.4", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.5.0", "babel-preset-stage-1": "^6.3.13",