title: Exclude dev dependencies when publishing npm package
body: <p>So I'm in the process of publishing a package to npm. It is basically just a simple module that lets users make Ajax calls and can be configured in a few ways.</p>
  
  <p>I have read that it is a good idea to test the install locally and tried that. I have packed the package via the "npm pack" command, change into another directory and then tried installing the packge via "npm install path-to-file-that-was-just-created.tgz".
  So far everything works, I have a node_modules folder, that contains my bundled code.</p>
  
  <p>However, is also has installed all the dependencies that I have listed as devDependencies in the package.json of my actual module, even though the only the bundled file is needed and no other depenedencies are defined.
  I have tried updating the npm-shrinkwrap.json, and checked that every dependency has the dev property marked as true.</p>
  
  <p>The goal is actually for the user to install this module and then have no dependencies installed, because they do not need babel or mocha, to run the module.
  How can I exclude these from the packge?
  Thanks!</p>