2.0.2 • Published 8 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-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