https://github.com/lbryio/lbryinc
https://github.com/lbryio/lbryinc
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lbryio/lbryinc
- Owner: lbryio
- License: mit
- Created: 2018-07-03T09:05:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T04:40:14.000Z (over 4 years ago)
- Last Synced: 2025-04-05T10:51:15.309Z (9 months ago)
- Language: JavaScript
- Size: 1.23 MB
- Stars: 6
- Watchers: 12
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lbryinc
lbryinc is a module which contains common api.lbry.io and rewards code shared between lbry-desktop and lbry-android.
## Installation
Add `lbryinc` as a dependency to your `package.json` file.
`"lbryinc": "lbryio/lbryinc"`
### 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 lbryinc
yarn link
cd /// (ex: cd ~/lbry-desktop)
yarn link lbryinc
````
### Build
Run `$ yarn build`. If the symlink does not work, just build the file and move the `bundle.js` file in to the `node_modules/` folder.
### Automatic rebuild
To have the code automatically rebuild upon changes you can run `$ yarn dev` which will use `rollup` to watch the files and build upon detection of updated source code.
## License
[MIT © LBRY](LICENSE)