Thanks for your interest in react-native-bigheads! You are very welcome to contribute.
This project was created with TSDX
The recommended workflow is to run TSDX in one terminal:
git clone https://github.com/felipecespedes/react-native-bigheads.git
cd react-native-bigheads
yarn && yarn startThis builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.
Then, create a fresh react native app in another terminal:
npx react-native init BigHeadsDemo
cd BigHeadsDemo
yarn && yarn add react-native-svg
yarn android # or yarn ios
yarn startAs React Native doesn't support symlinks yet you will need to copy the content of the react-native-bigheads/dist folder and the react-native-bigheads/package.json file into the BigHeadsDemo/node_modules/react-native-bigheads folder every time you make changes.
The following script can help you to have those directories synchronized, just make sure to:
- Have installed
inotify-tools&rsync - Place this script on the
react-native-bigheadsroot folder and run it
while inotifywait -r -e modify,create,delete,move ./dist; do
rsync -avz --delete ./dist ../BigHeadsDemo/node_modules/react-native-bigheads
cp -rf ./package.json ../BigHeadsDemo/node_modules/react-native-bigheads/package.json
doneBefore you submit your PR, please make sure you haven't broken anything.