Browse Source

Created a new Expo app

Dayan 2 years ago
commit
2a2769493d
10 changed files with 6650 additions and 0 deletions
  1. 14
    0
      .gitignore
  2. 20
    0
      App.js
  3. 33
    0
      app.json
  4. BIN
      assets/adaptive-icon.png
  5. BIN
      assets/favicon.png
  6. BIN
      assets/icon.png
  7. BIN
      assets/splash.png
  8. 6
    0
      babel.config.js
  9. 21
    0
      package.json
  10. 6556
    0
      yarn.lock

+ 14
- 0
.gitignore View File

@@ -0,0 +1,14 @@
1
+node_modules/
2
+.expo/
3
+dist/
4
+npm-debug.*
5
+*.jks
6
+*.p8
7
+*.p12
8
+*.key
9
+*.mobileprovision
10
+*.orig.*
11
+web-build/
12
+
13
+# macOS
14
+.DS_Store

+ 20
- 0
App.js View File

@@ -0,0 +1,20 @@
1
+import { StatusBar } from 'expo-status-bar';
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
+      <StatusBar style="auto" />
9
+    </View>
10
+  );
11
+}
12
+
13
+const styles = StyleSheet.create({
14
+  container: {
15
+    flex: 1,
16
+    backgroundColor: '#fff',
17
+    alignItems: 'center',
18
+    justifyContent: 'center',
19
+  },
20
+});

+ 33
- 0
app.json View File

@@ -0,0 +1,33 @@
1
+{
2
+  "expo": {
3
+    "name": "TPMGnav",
4
+    "slug": "TPMGnav",
5
+    "version": "1.0.0",
6
+    "orientation": "portrait",
7
+    "icon": "./assets/icon.png",
8
+    "userInterfaceStyle": "light",
9
+    "splash": {
10
+      "image": "./assets/splash.png",
11
+      "resizeMode": "contain",
12
+      "backgroundColor": "#ffffff"
13
+    },
14
+    "updates": {
15
+      "fallbackToCacheTimeout": 0
16
+    },
17
+    "assetBundlePatterns": [
18
+      "**/*"
19
+    ],
20
+    "ios": {
21
+      "supportsTablet": true
22
+    },
23
+    "android": {
24
+      "adaptiveIcon": {
25
+        "foregroundImage": "./assets/adaptive-icon.png",
26
+        "backgroundColor": "#FFFFFF"
27
+      }
28
+    },
29
+    "web": {
30
+      "favicon": "./assets/favicon.png"
31
+    }
32
+  }
33
+}

BIN
assets/adaptive-icon.png View File


BIN
assets/favicon.png View File


BIN
assets/icon.png View File


BIN
assets/splash.png View File


+ 6
- 0
babel.config.js View File

@@ -0,0 +1,6 @@
1
+module.exports = function(api) {
2
+  api.cache(true);
3
+  return {
4
+    presets: ['babel-preset-expo'],
5
+  };
6
+};

+ 21
- 0
package.json View File

@@ -0,0 +1,21 @@
1
+{
2
+  "name": "tpmgnav",
3
+  "version": "1.0.0",
4
+  "main": "node_modules/expo/AppEntry.js",
5
+  "scripts": {
6
+    "start": "expo start",
7
+    "android": "expo start --android",
8
+    "ios": "expo start --ios",
9
+    "web": "expo start --web"
10
+  },
11
+  "dependencies": {
12
+    "expo": "~47.0.7",
13
+    "expo-status-bar": "~1.4.2",
14
+    "react": "18.1.0",
15
+    "react-native": "0.70.5"
16
+  },
17
+  "devDependencies": {
18
+    "@babel/core": "^7.12.9"
19
+  },
20
+  "private": true
21
+}

+ 6556
- 0
yarn.lock
File diff suppressed because it is too large
View File