UNPKG

879 BMarkdownView Raw
1# Contributing to React Native Chart Kit
2
3👍🎉 First off, thanks for taking the time to contribute! 🎉👍
4
5Suggestions and pull requests are highly encouraged! Have a look at the [open issues](https://github.com/indiespirit/react-native-chart-kit/issues).
6
7## Workflow
8
9First clone:
10
11```sh
12git clone git@github.com:indiespirit/react-native-chart-kit.git
13cd react-native-chart-kit
14yarn install
15```
16
17In order to run it, you are gonna have to flip values for "main" and "_main" in package json. This is nessesary because both npm and expo have a notion of a main file, but for npm it's the file that you run when you import this library in your app; and for expo it's the file that it uses to display the example app.
18
19Don't forget to flip it back before commiting.
20
21**After you update fix the package.json**
22
23```sh
24yarn start # And get you expo app ready on your phone
25```
26