@bitrefill/airfill-widget
v4.8.3
Published
Airfill Embeddable Refill Widget
Downloads
244
Readme
Airfill/Bitrefill Widget
Get started
Runs on localhost:8000
$ git clone [email protected]:bitrefill/airfill-widget.git && cd airfill-widget
$ yarn
$ yarn start
Run tests
yarn test:watch
Build the production bundle
# build production bundles (standalone with dependencies bundled and npm bundle with no deps)
$ yarn build
# build standalone bundle with stats.json
$ yarn build standalone
# build npm bundle with no dps
$ yarn build dist
Run locally in production mode
$ yarn serve:dist
Usage in React
Widget
import Widget from '@bitrefill/airfill-widget';
render() {
return <Widget />;
}