1.0.1 • Published 5 years ago

azure-npm-config v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

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-config

How 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@email.com",
    "npm_host": "https://azure.npm/path/registry/",
    "token": "PAT_TOKEN_HERE"
}

After it just run on your project folder

$ anpm

it should create .npmrc based on your azure config