Skip to content

Commit fb98fb9

Browse files
committed
Update example deps
1 parent b4d9017 commit fb98fb9

5 files changed

Lines changed: 20 additions & 24 deletions

File tree

example/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ const cities = [
4343
const nature = [
4444
{
4545
source: {
46-
uri: 'https://s4.insidehook.com/Switzerland_Hea_1493053457.jpg',
46+
uri:
47+
'https://images.fineartamerica.com/images/artworkimages/mediumlarge/1/1-forest-in-fog-russian-nature-forest-mist-dmitry-ilyshev.jpg',
4748
},
4849
title: 'Switzerland',
4950
},

example/app.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
},
1717
"ios": {
1818
"supportsTablet": true
19-
},
20-
"packagerOpts": {
21-
"projectRoots": "",
22-
"config": "rn-cli.config.js"
2319
}
2420
}
2521
}

example/metro.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
resolver: {
5+
extraNodeModules: new Proxy(
6+
{},
7+
{
8+
get: (target, name) =>
9+
path.join(process.cwd(), `node_modules/${name}`),
10+
}
11+
),
12+
},
13+
projectRoot: [path.resolve(__dirname)],
14+
watchFolders: [path.resolve(__dirname, '../src')],
15+
};

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"main": "node_modules/expo/AppEntry.js",
33
"private": true,
44
"dependencies": {
5-
"expo": "^33.0.3",
5+
"expo": "^35.0.0",
66
"react": "16.8.6",
7-
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
7+
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
88
"react-native-image-view": "^2.1.5"
99
},
1010
"devDependencies": {
1111
"babel-eslint": "10.0.1",
12-
"babel-preset-expo": "5.1.1",
12+
"babel-preset-expo": "7.0.0",
1313
"eslint": "5.16.0",
1414
"eslint-config-airbnb": "17.1.0",
1515
"eslint-config-prettier": "4.3.0",

example/rn-cli.config.js

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

0 commit comments

Comments
 (0)