Use babelrc (#10)
This commit is contained in:
parent
ef0778bf9c
commit
4130a08199
2 changed files with 6 additions and 8 deletions
6
.babelrc
Normal file
6
.babelrc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"presets": [ "react-native" ],
|
||||
"plugins": [
|
||||
["resolver", {"resolveDirs": ["src", "test"]}]
|
||||
]
|
||||
}
|
||||
|
|
@ -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"]}]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue