Skip to content

Instantly share code, notes, and snippets.

@zenithtekla
Last active August 3, 2020 21:46
Show Gist options
  • Save zenithtekla/3920f1f361856a38a590205933b5d1bd to your computer and use it in GitHub Desktop.
Save zenithtekla/3920f1f361856a38a590205933b5d1bd to your computer and use it in GitHub Desktop.
Github packages
// Get started with GitHub Packages
// Step 1: Use `publishConfig` option in your package.json
"publishConfig": { "registry": "https://npm.pkg.github.com/" }
// Step 2: Authenticate
$ npm login --registry=https://npm.pkg.github.com/
// Step 3: Publish
$ npm publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment