title: npm package from github, missing files
body: <p>I'm trying to reference <a href="https://github.com/logary/logary-js" rel="nofollow noreferrer">logary-js</a> (DISCLAIMER: my own project) from a project of mine.</p>
  <p>I have this packages.json file:</p>
  <pre><code>...
  &quot;dependencies&quot;: {
    &quot;logary&quot;: &quot;logary/logary-js#master&quot;,
    ...
  }
  ...
  </code></pre>
  <p>However, when trying to pull down the package, it fails with this error:</p>
  <pre><code>✗ npm install
  
  &gt; logary@1.0.0 preinstall /Users/h/dev/proj/node_modules/.staging/logary-6603d70a
  &gt; npm run build
  
  
  &gt; logary@1.0.0 build /Users/h/dev/proj/node_modules/.staging/logary-6603d70a
  &gt; NODE_ENV=production webpack --progress --color --display-error-details --display-reasons --optimize-minimize
  
  webpack 1.12.14
  Usage: https://webpack.github.io/docs/cli.html
  
  Options:
    --help, -h, -?
    --config
    --context
    --entry
    --module-bind
    --module-bind-post
    --module-bind-pre
    --output-path
    --output-file
    --output-chunk-file
    --output-named-chunk-file
    --output-source-map-file
    --output-public-path
    --output-jsonp-function
    --output-pathinfo
    --output-library
    --output-library-target
    --records-input-path
    --records-output-path
    --records-path
    --define
    --target
    --cache                                                                                           [default: true]
    --watch, -w
    --watch which closes when stdin ends
    --watch-aggregate-timeout
    --watch-poll
    --hot
    --debug
    --devtool
    --progress
    --resolve-alias
    --resolve-loader-alias
    --optimize-max-chunks
    --optimize-min-chunk-size
    --optimize-minimize
    --optimize-occurence-order
    --optimize-dedupe
    --prefetch
    --provide
    --labeled-modules
    --plugin
    --bail
    --profile
    -d                                    shortcut for --debug --devtool sourcemap --output-pathinfo
    -p                                    shortcut for --optimize-minimize
    --json, -j
    --colors, -c
    --sort-modules-by
    --sort-chunks-by
    --sort-assets-by
    --hide-modules
    --display-exclude
    --display-modules
    --display-chunks
    --display-error-details
    --display-origins
    --display-cached
    --display-cached-assets
    --display-reasons, --verbose, -v
  
  Output filename not configured.
  
  npm ERR! Darwin 14.5.0
  npm ERR! argv &quot;/Users/h/.nvm/versions/node/v5.6.0/bin/node&quot; &quot;/Users/h/.nvm/versions/node/v5.6.0/bin/npm&quot; &quot;run&quot; &quot;build&quot;
  npm ERR! node v5.6.0
  npm ERR! npm  v3.6.0
  npm ERR! code ELIFECYCLE
  npm ERR! logary@1.0.0 build: `NODE_ENV=production webpack --progress --color --display-error-details --display-reasons --optimize-minimize`
  npm ERR! Exit status 255
  npm ERR!
  npm ERR! Failed at the logary@1.0.0 build script 'NODE_ENV=production webpack --progress --color --display-error-details --display-reasons --optimize-minimize'.
  </code></pre>
  <p>Which is an error you get if there's no webpack.config.js file in the directory. This makes me believe that npm is only pulling down a few files. npm-debug.log says:</p>
  <pre><code>89 verbose tar unpack /Users/h/.npm/logary/1.0.0/package.tgz
  90 verbose tar unpacking to /Users/h/dev/proj/node_modules/.staging/logary-6603d70a
  91 silly gentlyRm /Users/h/dev/proj/node_modules/.staging/logary-6603d70a is being purged
  92 verbose gentlyRm don't care about contents; nuking /Users/h/dev/proj/node_modules/.staging/logary
  -6603d70a
  93 silly gunzTarPerm modes [ '770', '660' ]
  94 silly gunzTarPerm extractEntry package.json
  95 silly gunzTarPerm extractEntry README.md
  96 silly gunzTarPerm extractEntry LICENSE
  97 silly gentlyRm /Users/h/dev/proj/node_modules/.staging/logary-6603d70a/node_modules is being purg
  ed
  98 verbose gentlyRm don't care about contents; nuking /Users/h/dev/proj/node_modules/.staging/logary
  -6603d70a/node_modules
  99 silly doParallel preinstall 1
  100 silly preinstall logary@1.0.0 /Users/h/dev/proj/node_modules/.staging/logary-6603d70a
  101 info lifecycle logary@1.0.0~preinstall: logary@1.0.0
  </code></pre>
  <p>Also, in this example <a href="https://github.com/logary/logary-js/tree/master/examples/webpack" rel="nofollow noreferrer">https://github.com/logary/logary-js/tree/master/examples/webpack</a> it's referencing logary just fine, albeit through the file system rather than github.</p>
  <p>So the question becomes; how do I reference logary from github? Or what should I change in its <a href="https://github.com/logary/logary-js/blob/master/package.json" rel="nofollow noreferrer">package.json</a> file to make it work?</p>