yarn
yarn build
npm publish --access public --tag latest
Notes: you need to login npmjs.com
in your terminal before publishing any package, try command npm adduser
. And remember to update version
field in packgae.json
after chaning code.