these forms:</p>
<pre><code>../foo/bar
~/foo/bar
./foo/bar
/foo/bar
</code></pre><p>in which case they will be normalized to a relative path and added to your
<code>package.json</code>. For example:</p>
<pre><code>{
  &quot;name&quot;: &quot;baz&quot;,
  &quot;dependencies&quot;: {
    &quot;bar&quot;: &quot;file:../foo/bar&quot;
  }
}
</code></pre><p>This feature is helpful for local offline development and creating
tests that require npm installing where you don&#39;t want to hit an
external server, but s