@goldwasserexchange/write-npmrc

Writes a .npmrc file in the current directory

Usage no npm install needed!

<script type="module">
  import goldwasserexchangeWriteNpmrc from 'https://cdn.skypack.dev/@goldwasserexchange/write-npmrc';
</script>

README

write-npmrc

Usage

Set NPM_TOKEN and NPM_REGISTRY_URL (optional) environment variables, then in your package.json:

  ...
  "preinstall": "npx @goldwasserexchange/write-npmrc",
  ...