This is a guide for contributors.
npm run build
: Build for productionnpm run lint
: Run static-checkingnpm run test
: Run testsnpm run update-api-docs
: Update API documentation
- Wait for passing CI...
-
git switch main && git pull
-
rm -rf dist && npm run build
-
npm version <major|minor|patch>
- If you want to release a pre-release version, use the following command instead:
npm version <premajor|preminor|prepatch> --preid=<alpha|beta>
- If you want to update the pre-release version, use the following command instead:
npm version prerelease
- If you want to release a pre-release version, use the following command instead:
-
npm publish
- If you want to publish a pre-release version, use the following command instead:
npm publish --tag=<alpha|beta>
- If you want to publish a pre-release version, use the following command instead:
-
git push --follow-tags