npm i
npm run build
npm start
This will launch a demo on http://localhost:3000/examples that you can use for interactive testing.
First decide on a new version number (x.y.z) using semantic versioning. Then run these commands, being sure to substitute the real version number for x.y.z below:
npm i
npm version x.y.z
npm publish