No description
Find a file
Sean Yesmunt 64068e13f9
Merge pull request #17 from lbryio/rewards
Add callback for claimRewardSuccess
2018-12-04 13:26:08 -05:00
dist Merge pull request #17 from lbryio/rewards 2018-12-04 13:26:08 -05:00
src Merge pull request #17 from lbryio/rewards 2018-12-04 13:26:08 -05:00
.babelrc [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
.eslintrc.json [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
.flowconfig [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
.gitignore fix ACTIONS import in redux/actions/rewards 2018-07-23 15:12:22 +01:00
.lintstagedrc.json [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
.prettierrc.json [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
LICENSE [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
package.json update lbry-redux 2018-11-29 01:07:43 -05:00
README.md lbry-app > lbry-desktop 2018-07-12 16:14:07 -04:00
webpack.config.js [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
yarn.lock update lbry-redux 2018-11-29 01:07:43 -05:00

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
sudo npm link
cd /<path>/<to>/<project>/node_modules
npm 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.

License

MIT © LBRY