Use babelrc (#10)

This commit is contained in:
Mike Piccolo 2016-10-14 15:00:09 -07:00 committed by Corey Hulen
parent ef0778bf9c
commit 4130a08199
2 changed files with 6 additions and 8 deletions

6
.babelrc Normal file
View file

@ -0,0 +1,6 @@
{
"presets": [ "react-native" ],
"plugins": [
["resolver", {"resolveDirs": ["src", "test"]}]
]
}

View file

@ -30,13 +30,5 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "mocha --compilers js:babel-register",
"postinstall": "remotedev-debugger --hostname localhost --port 5678 --injectserver"
},
"babel": {
"presets": [
"react-native"
],
"plugins": [
["resolver", {"resolveDirs": ["src", "test"]}]
]
}
}