Skip to content

Commit 07538e6

Browse files
committed
Initial commit
0 parents  commit 07538e6

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed

.babelrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": ["babel-preset-exponent"],
3+
"env": {
4+
"development": {
5+
"plugins": ["transform-react-jsx-source"]
6+
}
7+
}
8+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/**/*
2+
.exponent/*
3+
npm-debug.*

exp.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "exponent-test",
3+
"description": "An empty new project",
4+
"slug": "exponent-test",
5+
"privacy": "public",
6+
"sdkVersion": "12.0.0",
7+
"version": "1.0.0",
8+
"orientation": "portrait",
9+
"primaryColor": "#cccccc",
10+
"iconUrl": "https://s3.amazonaws.com/exp-brand-assets/ExponentEmptyManifest_192.png",
11+
"notification": {
12+
"iconUrl": "https://s3.amazonaws.com/exp-us-standard/placeholder-push-icon-blue-circle.png",
13+
"color": "#000000"
14+
},
15+
"loading": {
16+
"iconUrl": "https://s3.amazonaws.com/exp-brand-assets/ExponentEmptyManifest_192.png",
17+
"hideExponentText": false
18+
},
19+
"packagerOpts": {
20+
"assetExts": ["ttf", "mp4"]
21+
},
22+
"ios": {
23+
"supportsTablet": true
24+
}
25+
}

main.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import Exponent from 'exponent';
2+
import React from 'react';
3+
import {
4+
StyleSheet,
5+
Text,
6+
View,
7+
} from 'react-native';
8+
9+
class App extends React.Component {
10+
render() {
11+
return (
12+
<View style={styles.container}>
13+
<Text>Open up main.js to start working on your app xyz!</Text>
14+
</View>
15+
);
16+
}
17+
}
18+
19+
const styles = StyleSheet.create({
20+
container: {
21+
flex: 1,
22+
backgroundColor: 'purple',
23+
alignItems: 'center',
24+
justifyContent: 'center',
25+
},
26+
});
27+
28+
Exponent.registerRootComponent(App);

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "exponent-test",
3+
"version": "0.0.0",
4+
"description": "Hello Exponent!",
5+
"author": null,
6+
"private": true,
7+
"main": "main.js",
8+
"dependencies": {
9+
"exponent": "~12.0.3",
10+
"@exponent/vector-icons": "~2.0.3",
11+
"react": "~15.3.2",
12+
"react-native": "git+https://github.com/exponentjs/react-native#sdk-12.0.0"
13+
}
14+
}

0 commit comments

Comments
 (0)