title: How to print all npm peer dependencies of a module from a private git repo?
body: <p>Within the package.json file I can successfully refer to the module as follows:</p>
  
  <pre><code>"[module name]": "git+ssh://git@[host of private repo]:[repo name]/[module name].git"
  </code></pre>
  
  <p>However the following attempts to get the peer dependencies fail:</p>
  
  <pre><code>npm info "git+ssh://git@[host of private repo]:[repo name]/[module name].git" peerDependencies
  
  npm info "https://[host of private repo]/[repo name]/[module name].git" peerDependencies
  </code></pre>
  
  <p>In both cases, I get the following error:</p>
  
  <pre><code>npm ERR! Invalid package.json
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     [PATH]/.npm/_logs/2018-03-06T18_22_24_434Z-debug.log
  </code></pre>
  
  <p>But it works when I attempt this for a public module:</p>
  
  <pre><code>npm info eslint-config-airbnb peerDependencies
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>