sync command

This commit is contained in:
Farid from Safi
2016-07-29 14:22:26 +02:00
parent a43d2443a7
commit 42a3b5950e
25 changed files with 11 additions and 9 deletions

View File

@@ -2,6 +2,6 @@ import {
AppRegistry,
} from 'react-native';
import Example from './Example';
import App from './App';
AppRegistry.registerComponent('GiftedChat', () => Example);
AppRegistry.registerComponent('GiftedChat', () => App);

View File

@@ -2,6 +2,6 @@ import {
AppRegistry,
} from 'react-native';
import Example from './Example';
import App from './App';
AppRegistry.registerComponent('GiftedChat', () => Example);
AppRegistry.registerComponent('GiftedChat', () => App);

View File

@@ -3,16 +3,18 @@
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node_modules/react-native/packager/packager.sh"
"start": "node_modules/react-native/packager/packager.sh",
"sync-rngc": "rm -rf ./node_modules/react-native-gifted-chat; sane '/usr/bin/rsync -v -a --exclude .git --exclude example --exclude node_modules ../ ./node_modules/react-native-gifted-chat/' .. --glob='{**/*.json,**/*.js}'"
},
"dependencies": {
"react": "15.2.1",
"react-native": "^0.30.0",
"react-native-gifted-chat": "file:./react-native-gifted-chat"
"react-native-gifted-chat": "file:../"
},
"devDependencies": {
"eslint": "^3.1.1",
"eslint-plugin-react": "^5.2.2",
"eslint-plugin-react-native": "^1.2.0"
"eslint-plugin-react-native": "^1.2.0",
"sane": "^1.3.4"
}
}

View File

@@ -1 +0,0 @@
export * from './components/GiftedChat';

1
index.js Normal file
View File

@@ -0,0 +1 @@
export * from './src/GiftedChat';

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-gifted-chat",
"version": "0.2.0",
"version": "0.0.1",
"description": "The most complete chat UI for React Native",
"main": "index.js",
"scripts": {