README
write-npmrc
Usage
Set NPM_TOKEN
and NPM_REGISTRY_URL
(optional) environment variables, then in your package.json
:
...
"preinstall": "npx @goldwasserexchange/write-npmrc",
...
Writes a .npmrc file in the current directory
<script type="module">
import goldwasserexchangeWriteNpmrc from 'https://cdn.skypack.dev/@goldwasserexchange/write-npmrc';
</script>
Set NPM_TOKEN
and NPM_REGISTRY_URL
(optional) environment variables, then in your package.json
:
...
"preinstall": "npx @goldwasserexchange/write-npmrc",
...