lbry-redux/README.md

31 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2018-04-05 04:57:29 +02:00
# lbry-redux
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
2018-07-12 22:14:43 +02:00
lbry-redux is a module which contains common React and redux code shared between lbry-desktop and lbry-android.
2018-04-05 04:57:29 +02:00
## Installation
Add `lbry-redux` as a dependency to your `package.json` file.
`"lbry-redux": "lbryio/lbry-redux"`
### Local development
If you intend to make changes to the module and test immediately, you can use `npm link` to add the package to your `node_modules` folder. This will create a symlink to the folder where `lbry-redux` was cloned to.
```
cd lbry-redux
2019-10-03 21:05:04 +02:00
yarn link
cd /<path>/<to>/<project> (ex: cd ~/lbry-desktop)
yarn link lbry-redux
2018-04-05 04:57:29 +02:00
````
### Build
2019-10-13 16:22:06 +02:00
Run `$ yarn build`. If the symlink does not work, just build the file and move the `bundle.js` file into the `node_modules/` folder.
2018-04-05 04:57:29 +02:00
## Contributing
We :heart: contributions from everyone! We welcome [bug reports](https://github.com/lbryio/lbry-redux/issues/), [bug fixes](https://github.com/lbryio/lbry-redux/pulls) and feedback on the module is always appreciated.
2018-10-31 18:26:46 +01:00
## [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/lbryio/lbry-redux/issues) [![GitHub contributors](https://img.shields.io/github/contributors/lbryio/lbry-redux.svg)](https://GitHub.com/lbryio/lbry-redux/graphs/contributors/)
2018-04-05 04:57:29 +02:00
## License
2019-10-08 23:21:18 +02:00
This module is released under the [MIT License](LICENSE)