Configure registry

  • Create a GitHub personal access token with repo and read package permissions. See this guide

    Example

  • Create a .npmrc file in your project root directory:
    //npm.pkg.github.com
    @react3l:registry=https://npm.pkg.github.com
    
  • Login to GitHub Package registry:
    npm login --registry=https://npm.pkg.github.com
    

    Using your username and token as password