trollbox-widget v0.1.37
trollbox-widget
Simple trollbox chat widget React component built on top of the XMPP MUC protocol.
Installation
yarn add trollbox-widget
npm i trollbox-widget
Scripts
yarn build
/ npm run build
Builds the application for publishing to npm.
yarn watch
/ npm run watch
Watches for changes to code, rebuilds the app on a change.
yarn link
/ npm link
Creates a link for usage in a project. Use this for development together with yarn watch
.
yarn unlink
/ npm unlink
Unlinks the package.
How to develop locally
- Install dependencies
- Run
yarn link
/npm link
- Run
yarn link trollbox-widget
/npm link trollbox-widget
in the root of the project you want to include the trollbox widget on. - Run
yarn watch
/npm run watch
. Now every change you make will be visible in your project.
Publishing the package
Run yarn publish-yarn
/ npm publish-npm
and follow the instructions. Both commands publish to the same public npm registry.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago