title: How to include *forked* github branch as dependency in package.json
body: <p>I'm trying to include a <code>fork</code> of <a href="https://github.com/segmentio/analytics-react-native" rel="nofollow noreferrer">https://github.com/segmentio/analytics-react-native</a></p>
  
  <p>When I include <code>"@segment/analytics-react-native": "^1.1.0",</code> in my package.json</p>
  
  <p>I see the following</p>
  
  <pre><code>├── README.md
  ├── RNAnalytics.podspec
  ├── android
  ├── build
  ├── ios
  ├── package.json
  └── src
  </code></pre>
  
  <p>But if I include the fork of the library as <code>"analytics-react-native": "account_name/analytics-react-native#master",</code>, I see</p>
  
  <pre><code>├── CHANGELOG.md
  ├── CONTRIBUTING.md
  ├── LICENSE.md
  ├── README.md
  ├── RELEASING.md
  ├── package.json
  ├── packages
  └── tsconfig.json
  </code></pre>
  
  <p>Of course, build fails with the forked version.. 
  How Can I use the forked version as a dependency?</p>