1.0.17 • Published 3 years ago
@nautilusdigital/zendesk v1.0.17
How to publish your npm package into github
1. Declare .npmrc file in root directory (~/.npmrc)
In the .npmrc file, the first line should be //npm.pkg.github.com/:_authToken={token from github with read/write authority}
2. Also, declare .npmrc file locally
In the local .npmrc file, you should include @nautilusdigital:registry=https://npm.pkg.github.com to notify that the location of npm package should be at github
3. Modify package.json
{ "name": "@nautilusdigital/convergence-zendesk-api", "{organization_name}/{repo_name}" . . . "repository": { "url": "git://github.com/nautilusdigital/convergence-zendesk-api.git" }, "dependencies": { ... } }
4. npm publish to deploy your package to github
npm publish