@mynewsdesk/notifications

2.0.0 • Public • Published

Notifications JS Client

JavaScript client library wrapping the mnd-notifications backend API and providing an interval based polling mechanism to listen for new notifications.

Build

rollup is used to build the js library. To run the build use:

yarn build

Development

For development you can run:

yarn start

This will start a development server which serves a test page at http://localhost:10001.

You can use this to test local changes, assuming you have the mnd-notifications backend running at http://mnd-notifications.test. The index.html file used for the server can be found in public

Releasing

  • use lerna publish in the parent folder

Testing

  • to run the tests use:
yarn test
  • to rerun test when saving run:
yarn test --watch
  • coverage reports can be shown with:
yarn coverage

Documentation

  • class and method documentation can be found in api.md
  • to generate the documentation from source run:
yarn doc:build
yarn doc:serve

Related links

Readme

Keywords

none

Package Sidebar

Install

npm i @mynewsdesk/notifications

Weekly Downloads

0

Version

2.0.0

License

proprietary

Unpacked Size

33.1 kB

Total Files

8

Last publish

Collaborators

  • alexaivars
  • alexander.rothe
  • andreaszecher
  • danielschnee
  • guusli
  • joachimlindqvist
  • josuakoschwitz
  • katekolosova
  • marianaalberto
  • mynewsdesk-dev