Run a local dev server and edit files in ./docs
:
yarn run docs:dev
To publish the updated docs:
yarn run docs:publish
-
Make sure you're on branch
master
before doing it -
Ensure that the code is formatted correctly
yarn run format
- Update the version
npm version [major | minor | patch]
- Build the code to be published
yarn run build
- Publish it
npm publish
- Push incremented version and tags to git
git push --follow-tags