-
Run
npm version
to update package.json and package-lock.jsonnpm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
-
Run
npm run packagr
to compile projectnpm run packagr
-
Login to Github Packages
npm login --scope=@OWNER --registry=https://npm.pkg.github.com > Username: USERNAME > Password: TOKEN > Email: PUBLIC-EMAIL-ADDRESS
-
Move to
dist/
directory and publish NPM packagecd dist/ npm publish