-
Decide on a release version number, follow http://semver.org/ for the naming system.
-
Update package.json with the version number.
-
Commit and push.
-
Git tag with the version number and push the tags:
git tag -a -m "" git push origin --tags
-
Publish the new version to npm:
cd /dir/of/canvas-5-polyfill npm publish .
Note that you don't need to publish to Bower, it will pick up the new version from the Git tag.