add babel config

This commit is contained in:
Barry Gitarts 2018-05-31 17:42:00 -04:00
parent 91784682a2
commit 202247a2b5
2 changed files with 6 additions and 0 deletions

4
.babelrc Normal file
View File

@ -0,0 +1,4 @@
{
"plugins": ["transform-object-rest-spread"],
"presets": ["stage-2"]
}

View File

@ -24,6 +24,8 @@
"react-dom": "^16.3.2"
},
"devDependencies": {
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-stage-2": "^6.24.1",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.12.0",