azure-npm-config
v1.0.1
Published
Creates .npmrc based on Azure Artifact config in .azurenpmrc.js in user home folder
Readme
Azure NPM Config
This project is meant to help Mac and Linux users to keep their projects with Azure Artifact up to date with PAT tokens.
How to install
$ npm i -g azure-npm-configHow to use
On Azure side create a PAT with Packages read and write permissions, then in your local machine create a .azurenomrc.js on you user home folder with following content
module.exports = {
"scope": "mycompany",
"user": "username",
"email": "[email protected]",
"npm_host": "https://azure.npm/path/registry/",
"token": "PAT_TOKEN_HERE"
}After it just run on your project folder
$ anpmit should create .npmrc based on your azure config
