- create an issue to discuss the change
- create a PR if change makes sense after the discussion
- PR review + merge!
Use yarn
, do not create package-lock.json from npm
The repo uses eslint and prettier to enforce some style and lint rules. Make sure that yarn lint
runs successfully on your branch.
- clone the repo (of your fork) in a separate folder
- run
yarn
in the root directory - run
yarn build
in the root directory
(this should create a dist
folder)
- open or create a new react native project (expo and RN CLI both work)
- add a dependency in package.json like
{
"dependencies": {
"react-native-peertube-iframe": "path/to/cloned/folder"
}
}
- run the app and use the iframe as stated in the docs
- make a change in the cloned folder
- run
yarn build
- reload / refresh test app