title: An alternative to package.json, for npm (for globally installed packages)
body: <p>I have a standard <code>package.json</code> file for the list of packages that my project is using.</p>
  
  <p>I also need to install some global packages. Instead of doing that manually, I would like to list them in a <code>global.json</code> config file, so that I can do:</p>
  
  <pre><code>npm install -g -f global.json
  </code></pre>
  
  <p>But the <code>-f</code> flag does not seem to exist for npm? Is it possible to specifiy an alternative dependency list, instead of the standard <code>package.json</code></p>