Common shared app components for desktop and mobile
6686e658a6
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
dist | ||
flow-typed | ||
src | ||
tests | ||
.babelrc | ||
.eslintrc.json | ||
.flowconfig | ||
.gitignore | ||
.lintstagedrc.json | ||
.prettierrc.json | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
rollup.config.js | ||
yarn.lock |
lbry-redux
lbry-redux is a module which contains common React and redux code shared between lbry-desktop and lbry-android.
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
yarn link
cd /<path>/<to>/<project> (ex: cd ~/lbry-desktop)
yarn link lbry-redux
Build
Run $ yarn build
. If the symlink does not work, just build the file and move the bundle.js
file into the node_modules/
folder.
Tests
Run $ yarn test
.
Contributing
We ❤️ contributions from everyone! We welcome bug reports, bug fixes and feedback on the module is always appreciated.
License
This module is released under the MIT License