Created
June 19, 2018 09:31
-
-
Save danklut/54c1c0a186acd379fa81ef22330ee969 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using NPM Private Modules on Netlify | |
Create a .npmrc file for your project like this: | |
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | |
Then find your token inside the ~/.npmrc file in your home folder and set it as an NPM_TOKEN environment variable through netlify's admin UI. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Gist