Skip to content

Commit

Permalink
Added web support
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon committed Apr 28, 2019
1 parent e94a07c commit d85dd57
Show file tree
Hide file tree
Showing 5 changed files with 2,032 additions and 1,377 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ typings/

# next.js build output
.next


#expo
web-build/
web-report/
.expo/
16 changes: 13 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@
"hideExponentText": false
},
"packagerOpts": {
"assetExts": ["ttf", "mp4", "otf", "xml"]
"assetExts": [
"ttf",
"mp4",
"otf",
"xml"
]
},
"ios": {
"supportsTablet": true
}
},
"platforms": [
"android",
"ios",
"web"
]
}
}
}
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
"private": true,
"main": "node_modules/expo/AppEntry.js",
"dependencies": {
"expo": "^30.0.0",
"react": "16.3.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
"expo-pixi": "0.3.1"
"expo": "^33.0.0-alpha.web.1",
"expo-pixi": "1.1.0",
"react": "16.8.6",
"react-dom": "^16.8.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"react-native-web": "^0.11.2"
},
"devDependencies": {
"babel-preset-expo": "^5.1.1"
}
}
Loading

0 comments on commit d85dd57

Please sign in to comment.