create-npmrc
v2.0.2
Published
Fetches the token from remote service and creates local npmrc
Maintainers
Keywords
Readme
create-npmrc
This is a client module that communicates with the server and creates .npmrc in your local project. Using generated .npmrc file allows installation of scoped npm packages.
yarn add create-npmrcor
npm install create-npmrc --saveAdd this row to your project's package.json to automatically obtain .npmrc
"scripts": {
"preinstall": "URL={server end point} create-npmrc"
},ENV variables:
URL # required variable
REGISTRY # default: registry.npmjs.org