Config file format cleanup

This commit is contained in:
Jordan Eldredge 2017-06-09 17:26:01 -07:00
parent 9e582092e1
commit 3dbee65dcd
2 changed files with 18 additions and 9 deletions

View File

@ -1,13 +1,22 @@
{ {
"presets": [ "presets": [
"react", "react",
["es2015", {modules: false}] [
], "es2015",
"plugins": ["transform-object-rest-spread"], {
"env": { "modules": false
"test": {
"presets": ["react", "es2015"],
} }
]
],
"plugins": [
"transform-object-rest-spread"
],
"env": {
"test": {
"presets": [
"react",
"es2015"
]
}
} }
}
}

View File

@ -5,7 +5,7 @@
"ecmaFeatures": { "ecmaFeatures": {
"jsx": true, "jsx": true,
"experimentalObjectRestSpread": true "experimentalObjectRestSpread": true
}, }
}, },
"plugins": [ "plugins": [
"react", "react",