bruce-widgets
v0.0.20
Published
This is a library which defines data-models for the Nextspace API and provides functions for communicating with the endpoints.
Downloads
856
Readme
bruce-widgets
This is a library which defines data-models for the Nextspace API and provides functions for communicating with the endpoints.
This is a library that enables us (Nextspace) to create re-usable components between our JS projects.
It uses plain JS, and our bruce-models
library. bruce-models
is added to keep API communication consistent between our projects.
Local build
npm i
npm run build
Running tests
npm i
(ignore if already run)npm run test
(running all tests)npx run jest ./test/unit/util
(example for testing just one test folder)
Publishing new versions
Increase version inside
package.json
and push the change.Bitbucket will run a build, test, and release.