No description
Find a file
Sean Yesmunt 4f16f81017
Merge pull request #28 from lbryio/lbryredux
[BREAKING CHANGE] add lbry-redux as peer dependency
2019-03-12 14:18:26 -04:00
dist add lbry-redux as a peer dependency 2019-03-10 22:02:17 -04:00
src add lbry-redux as a peer dependency 2019-03-10 22:02:17 -04: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 add lbry-redux as a peer dependency 2019-03-10 22:02:17 -04: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 add lbry-redux as a peer dependency 2019-03-10 22:02:17 -04: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