1 | # Contributing to React Native Chart Kit
|
2 |
|
3 | 👍🎉 First off, thanks for taking the time to contribute! 🎉👍
|
4 |
|
5 | Suggestions 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 |
|
9 | First clone:
|
10 |
|
11 | ```sh
|
12 | git clone git@github.com:indiespirit/react-native-chart-kit.git
|
13 | cd react-native-chart-kit
|
14 | yarn install
|
15 | ```
|
16 |
|
17 | In 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 |
|
19 | Don't forget to flip it back before commiting.
|
20 |
|
21 | **After you update fix the package.json**
|
22 |
|
23 | ```sh
|
24 | yarn start # And get you expo app ready on your phone
|
25 | ```
|
26 |
|