Bläddra i källkod

Created a new Expo app

ErnestoOrtiz2 3 år sedan
incheckning
6a62730c3b
11 ändrade filer med 19444 tillägg och 0 borttagningar
  1. 4
    0
      .expo-shared/assets.json
  2. 13
    0
      .gitignore
  3. 21
    0
      App.js
  4. 32
    0
      app.json
  5. Binär
      assets/adaptive-icon.png
  6. Binär
      assets/favicon.png
  7. Binär
      assets/icon.png
  8. Binär
      assets/splash.png
  9. 6
    0
      babel.config.js
  10. 19346
    0
      package-lock.json
  11. 22
    0
      package.json

+ 4
- 0
.expo-shared/assets.json Visa fil

@@ -0,0 +1,4 @@
1
+{
2
+  "12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true,
3
+  "40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true
4
+}

+ 13
- 0
.gitignore Visa fil

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

+ 21
- 0
App.js Visa fil

@@ -0,0 +1,21 @@
1
+import { StatusBar } from 'expo-status-bar';
2
+import React from 'react';
3
+import { StyleSheet, Text, View } from 'react-native';
4
+
5
+export default function App() {
6
+  return (
7
+    <View style={styles.container}>
8
+      <Text>Open up App.js to start working on your app!</Text>
9
+      <StatusBar style="auto" />
10
+    </View>
11
+  );
12
+}
13
+
14
+const styles = StyleSheet.create({
15
+  container: {
16
+    flex: 1,
17
+    backgroundColor: '#fff',
18
+    alignItems: 'center',
19
+    justifyContent: 'center',
20
+  },
21
+});

+ 32
- 0
app.json Visa fil

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

Binär
assets/adaptive-icon.png Visa fil


Binär
assets/favicon.png Visa fil


Binär
assets/icon.png Visa fil


Binär
assets/splash.png Visa fil


+ 6
- 0
babel.config.js Visa fil

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

+ 19346
- 0
package-lock.json
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 22
- 0
package.json Visa fil

@@ -0,0 +1,22 @@
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": "~42.0.1",
12
+    "expo-status-bar": "~1.0.4",
13
+    "react": "16.13.1",
14
+    "react-dom": "16.13.1",
15
+    "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
16
+    "react-native-web": "~0.13.12"
17
+  },
18
+  "devDependencies": {
19
+    "@babel/core": "^7.9.0"
20
+  },
21
+  "private": true
22
+}