github

publishing npm packages to github

In your .npmrc;

ruby
registry=https://registry.npmjs.org/ @staff0rd:registry=https://npm.pkg.github.com/ //npm.pkg.github.com/:_authToken=your_token

In your package.json;

json
"publishConfig": { "registry":"https://npm.pkg.github.com/" }

More information

posts