bluejoyq

init react-native front

1 +{
2 + "f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true,
3 + "89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true
4 +}
...\ No newline at end of file ...\ No newline at end of file
1 +node_modules/**/*
2 +.expo/*
3 +npm-debug.*
4 +*.jks
5 +*.p8
6 +*.p12
7 +*.key
8 +*.mobileprovision
9 +*.orig.*
10 +web-build/
11 +web-report/
12 +
13 +# macOS
14 +.DS_Store
1 +import React from 'react';
2 +import { StyleSheet, Text, View } from 'react-native';
3 +
4 +export default function App() {
5 + return (
6 + <View style={styles.container}>
7 + <Text>Open up App.js to start working on your app!</Text>
8 + </View>
9 + );
10 +}
11 +
12 +const styles = StyleSheet.create({
13 + container: {
14 + flex: 1,
15 + backgroundColor: '#fff',
16 + alignItems: 'center',
17 + justifyContent: 'center',
18 + },
19 +});
1 +{
2 + "expo": {
3 + "name": "searchGuide",
4 + "slug": "searchGuide",
5 + "privacy": "public",
6 + "sdkVersion": "35.0.0",
7 + "platforms": [
8 + "ios",
9 + "android",
10 + "web"
11 + ],
12 + "version": "1.0.0",
13 + "orientation": "portrait",
14 + "icon": "./assets/icon.png",
15 + "splash": {
16 + "image": "./assets/splash.png",
17 + "resizeMode": "contain",
18 + "backgroundColor": "#ffffff"
19 + },
20 + "updates": {
21 + "fallbackToCacheTimeout": 0
22 + },
23 + "assetBundlePatterns": [
24 + "**/*"
25 + ],
26 + "ios": {
27 + "supportsTablet": true
28 + }
29 + }
30 +}
1 +module.exports = function(api) {
2 + api.cache(true);
3 + return {
4 + presets: ['babel-preset-expo'],
5 + };
6 +};
This diff could not be displayed because it is too large.
1 +{
2 + "main": "node_modules/expo/AppEntry.js",
3 + "scripts": {
4 + "start": "expo start",
5 + "android": "expo start --android",
6 + "ios": "expo start --ios",
7 + "web": "expo start --web",
8 + "eject": "expo eject"
9 + },
10 + "dependencies": {
11 + "expo": "^35.0.0",
12 + "react": "16.8.3",
13 + "react-dom": "16.8.3",
14 + "react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
15 + "react-native-web": "^0.11.7"
16 + },
17 + "devDependencies": {
18 + "babel-preset-expo": "^7.1.0"
19 + },
20 + "private": true
21 +}