Update babelrc

This commit is contained in:
Kai Moseley 2017-01-03 15:02:04 +00:00
parent a248965e31
commit efa441f62e
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{
"presets": ["react"],
"presets": ["es2015", "react"],
"plugins": ["transform-es2015-modules-commonjs", "transform-object-rest-spread", "transform-flow-strip-types"]
}

View File

@ -39,6 +39,7 @@
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.14.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.11.1",
"eslint": "^3.2.2",
"eslint-loader": "^1.5.0",