fix: make it possible to run the example on web

This commit is contained in:
satyajit.happy
2019-09-17 16:25:21 +02:00
parent ba3f718ab3
commit 7a901af5b5
10 changed files with 186 additions and 61 deletions

View File

@@ -11,6 +11,7 @@
},
"scripts": {
"start": "expo start",
"web": "expo start --web",
"native": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
@@ -32,16 +33,18 @@
"react-native-screens": "2.0.0-alpha.3",
"react-native-tab-view": "2.10.0",
"react-native-unimodules": "^0.7.0-rc.1",
"react-native-web": "^0.11.7",
"scheduler": "^0.16.1",
"shortid": "^2.2.15",
"use-subscription": "^1.1.1"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@expo/webpack-config": "^0.7.12",
"@types/react": "^16.9.4",
"@types/react-native": "^0.60.17",
"@types/react-native": "^0.60.19",
"babel-preset-expo": "^7.0.0",
"expo-cli": "^3.1.2",
"expo-cli": "^3.3.0",
"jetifier": "^1.6.4",
"typescript": "^3.6.3"
}