Skip to content

.npmrc to set your npm registry access token

  • Create a .npmrc file in the root folder with that content:

    properties
    //npm.pkg.github.com/:_authToken=<YOUR_TOKEN>
    @<registry>:registry=https://npm.pkg.github.com/