Skip to content

Commit 48690d5

Browse files
author
Kashish Grover
committed
update expo
1 parent 5beb38a commit 48690d5

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

babel.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// eslint-disable-next-line
2+
module.exports = function(api) {
3+
api.cache(true);
4+
return {
5+
presets: ['babel-preset-expo'],
6+
};
7+
};

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"main": "node_modules/expo/AppEntry.js",
3+
"scripts": {
4+
"start": "expo start",
5+
"android": "expo start --android",
6+
"ios": "expo start --ios",
7+
"eject": "expo eject"
8+
},
39
"private": true,
410
"dependencies": {
511
"expo": "^32.0.0",
@@ -10,6 +16,7 @@
1016
"react-navigation": "^2.5.5"
1117
},
1218
"devDependencies": {
19+
"babel-preset-expo": "^5.0.0",
1320
"babel-eslint": "^8.2.5",
1421
"eslint": "^5.0.1",
1522
"eslint-config-airbnb": "^17.0.0",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4530,7 +4530,7 @@ [email protected]:
45304530
invariant "^2.2.2"
45314531
prop-types "^15.5.10"
45324532

4533-
"react-native-maps@github:expo/react-native-maps#v0.22.1-exp.0":
4533+
react-native-maps@expo/react-native-maps#v0.22.1-exp.0:
45344534
version "0.22.1"
45354535
resolved "https://codeload.github.com/expo/react-native-maps/tar.gz/e6f98ff7272e5d0a7fe974a41f28593af2d77bb2"
45364536

0 commit comments

Comments
 (0)