@privageapp/notification-sdk

Forlio Notification SDK

Usage no npm install needed!

<script type="module">
  import privageappNotificationSdk from 'https://cdn.skypack.dev/@privageapp/notification-sdk';
</script>

README

Installation

install dev channel

npm install @privageapp/notification-sdk@alpha

install staging channel

npm install @privageapp/notification-sdk@beta

install production channel

npm install @privageapp/notification-sdk@latest

For development

  • build project with npm run build
  • dist directory will be created
  • go to example directory by npm install && npm start
  • example project will use the the built library from dist directory

Manual publish to NPM registry

  • generate token from npm
  • set generated token as NPM_TOKEN
export NPM_TOKEN={token}
  • bump version before publish (use version-bump-prompt)
npm install -g @jsdevtools/version-bump-prompt

bump major  # for master
bump prerelease # for beta
bump patch  # for develop
  • publish package to npm
npm publish --access public --tag <CUSTOM_TAG>