Skip to content

Commit 0960dcf

Browse files
committed
initialized app
0 parents  commit 0960dcf

File tree

8 files changed

+81
-0
lines changed

8 files changed

+81
-0
lines changed

awesome-app/.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules/**/*
2+
.expo/*
3+
npm-debug.*
4+
*.jks
5+
*.p12
6+
*.key
7+
*.mobileprovision

awesome-app/.watchmanconfig

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

awesome-app/App.js

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

awesome-app/app.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"expo": {
3+
"name": "awesome-app",
4+
"description": "This project is really great.",
5+
"slug": "awesome-app",
6+
"privacy": "public",
7+
"sdkVersion": "31.0.0",
8+
"platforms": ["ios", "android"],
9+
"version": "1.0.0",
10+
"orientation": "portrait",
11+
"icon": "./assets/icon.png",
12+
"splash": {
13+
"image": "./assets/splash.png",
14+
"resizeMode": "contain",
15+
"backgroundColor": "#ffffff"
16+
},
17+
"updates": {
18+
"fallbackToCacheTimeout": 0
19+
},
20+
"assetBundlePatterns": [
21+
"**/*"
22+
],
23+
"ios": {
24+
"supportsTablet": true
25+
}
26+
}
27+
}

awesome-app/assets/icon.png

2.91 KB
Loading

awesome-app/assets/splash.png

7.01 KB
Loading

awesome-app/babel.config.js

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

awesome-app/package.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "empty-project-template",
3+
"main": "node_modules/expo/AppEntry.js",
4+
"private": true,
5+
"scripts": {
6+
"start": "expo start",
7+
"android": "expo start --android",
8+
"ios": "expo start --ios",
9+
"eject": "expo eject"
10+
},
11+
"dependencies": {
12+
"expo": "^31.0.2",
13+
"react": "16.5.0",
14+
"react-native": "https://github.com/expo/react-native/archive/sdk-31.0.0.tar.gz"
15+
},
16+
"devDependencies": {
17+
"babel-preset-expo": "^5.0.0"
18+
}
19+
}

0 commit comments

Comments
 (0)