mirror of
https://github.com/zhigang1992/react-native-gifted-chat.git
synced 2026-01-12 09:23:52 +08:00
sync command
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
1
example/react-native-gifted-chat/index.js
vendored
1
example/react-native-gifted-chat/index.js
vendored
@@ -1 +0,0 @@
|
||||
export * from './components/GiftedChat';
|
||||
@@ -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": {
|
||||
Reference in New Issue
Block a user