Skip to content

Commit 08a62af

Browse files
update example to latest expo SDK
1 parent 4ff1f7c commit 08a62af

File tree

3 files changed

+2853
-932
lines changed

3 files changed

+2853
-932
lines changed

example/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
"dependencies": {
1111
"@types/gl-react-expo": "^3.16.2",
1212
"buffer": "^5.6.0",
13-
"expo": "~37.0.3",
14-
"expo-gl": "^8.2.0",
13+
"expo": "^40.0.0",
14+
"expo-gl": "~9.2.0",
1515
"gl-react": "^4.0.1",
1616
"gl-react-blurhash": "latest",
1717
"gl-react-expo": "^4.0.1",
18-
"react": "~16.9.0",
19-
"react-dom": "~16.9.0",
20-
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
21-
"react-native-screens": "~2.2.0",
22-
"react-native-web": "~0.11.7"
18+
"react": "16.13.1",
19+
"react-dom": "16.13.1",
20+
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
21+
"react-native-screens": "~2.15.2",
22+
"react-native-web": "~0.13.12"
2323
},
2424
"devDependencies": {
25-
"@babel/core": "^7.8.6",
26-
"@types/react": "~16.9.23",
27-
"@types/react-native": "~0.61.17",
28-
"babel-preset-expo": "~8.1.0",
29-
"typescript": "~3.8.3"
25+
"@babel/core": "~7.9.0",
26+
"@types/react": "~16.9.35",
27+
"@types/react-native": "~0.63.2",
28+
"babel-preset-expo": "8.3.0",
29+
"typescript": "~4.0.0"
3030
},
3131
"private": true
3232
}

example/tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
"compilerOptions": {
33
"allowSyntheticDefaultImports": true,
44
"jsx": "react-native",
5-
"lib": ["dom", "esnext"],
5+
"lib": [
6+
"dom",
7+
"esnext"
8+
],
69
"moduleResolution": "node",
710
"noEmit": true,
811
"skipLibCheck": true,
912
"resolveJsonModule": true,
1013
"strict": true
11-
}
14+
},
15+
"extends": "expo/tsconfig.base"
1216
}

0 commit comments

Comments
 (0)