Browse Source

Init expo project

keplyx 2 years ago
parent
commit
2d641579aa
9 changed files with 7363 additions and 0 deletions
  1. 10
    0
      .gitignore
  2. 1
    0
      .watchmanconfig
  3. 19
    0
      App.js
  4. 30
    0
      app.json
  5. BIN
      assets/icon.png
  6. BIN
      assets/splash.png
  7. 6
    0
      babel.config.js
  8. 7276
    0
      package-lock.json
  9. 21
    0
      package.json

+ 10
- 0
.gitignore View File

@@ -0,0 +1,10 @@
1
+node_modules/**/*
2
+.expo/*
3
+npm-debug.*
4
+*.jks
5
+*.p12
6
+*.key
7
+*.mobileprovision
8
+*.orig.*
9
+web-build/
10
+web-report/

+ 1
- 0
.watchmanconfig View File

@@ -0,0 +1 @@
1
+{}

+ 19
- 0
App.js View File

@@ -0,0 +1,19 @@
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
+});

+ 30
- 0
app.json View File

@@ -0,0 +1,30 @@
1
+{
2
+  "expo": {
3
+    "name": "Application Amicale",
4
+    "slug": "application-amicale",
5
+    "privacy": "public",
6
+    "sdkVersion": "33.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
+}

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
+};

+ 7276
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 21
- 0
package.json View File

@@ -0,0 +1,21 @@
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": "^33.0.0",
12
+    "react": "16.8.3",
13
+    "react-dom": "^16.8.6",
14
+    "react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
15
+    "react-native-web": "^0.11.4"
16
+  },
17
+  "devDependencies": {
18
+    "babel-preset-expo": "^5.1.1"
19
+  },
20
+  "private": true
21
+}

Loading…
Cancel
Save