$ yarn install
Dev mode
$ yarn start
Storybook
$ yarn storybook
Test widget injection
yarn dev:index
note: Dev mode should be up via yarn start
Production widget & module
$ yarn build:prod
Widget watch mode for continuous update of lib folder. Can be used with yarn link to render widget updates in landings repo.
$ yarn build:watch
$ yarn deploy
- Checkout new branch (e.g. v1.5.6)
yarn build:module
yarn publish
- Enter new version number
git push && git push --tags
- Create merge request to master
- Merge & delete branch