Skip to content

Commit

Permalink
chore: adding required packages, npm version, initial tweaking App
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronolivier committed Mar 11, 2021
1 parent 46cb794 commit ecf3d85
Show file tree
Hide file tree
Showing 12 changed files with 1,232 additions and 87 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ buck-out/

# CocoaPods
/ios/Pods/


.xgitconfig
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.16.0
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
2 changes: 2 additions & 0 deletions .xgitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
project="YOMA"
slug=""
2 changes: 1 addition & 1 deletion __tests__/App-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import 'react-native';
import React from 'react';
import App from '../App';
import App from '../src/modules/App/App';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
Expand Down
9 changes: 0 additions & 9 deletions index.js

This file was deleted.

15 changes: 15 additions & 0 deletions index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import 'react-native-gesture-handler
import React from 'react'
import {AppRegistry} from 'react-native';
import { NavigationContainer } from '@react-navigation/native
import App from './src/modules/App';
import {name as appName} from './app.json';

const Root = () => (
<NavigationContainer>
<App />
</NavigationContainer>
)

AppRegistry.registerComponent(appName, () => Root);
Loading

0 comments on commit ecf3d85

Please sign in to comment.