2.0.2 • Published 7 years ago
create-npmrc v2.0.2
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-npmrc
or
npm install create-npmrc --save
Add 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