ckage
@myscope:registry=https://mycustomregistry.example.org
</code></pre><h3 id="per-project-config-file">Per-project config file</h3>
<p>When working locally in a project, a <code>.npmrc</code> file in the root of the
project (ie, a sibling of <code>node_modules</code> and <code>package.json</code>) will set
config values specific to this project.</p>
<p>Note that this only applies to the root of the project that you&#39;re
running npm in.  It has no effect when your module is published.  For
example, you