How to Publish to NPM First, edit package.json and bump the version. Log in to npm yarn login Publish: yarn publish