title: npm: How to create debug and production builds with the correct dependencies?
body: <p>I am building a single page app which uses typescript and a few other dependencies (jquery, immutable, lodash, react, ...). The different resulting modules are included with requirejs.</p>
  
  <p>I want to create both debug and production builds, where the debug builds should include the debug builds of the dependencies (i.e. non-minified, with debug checks (e.g. for React)) and the production builds should include the minified production builds of the dependencies. </p>
  
  <p>How can I do this with npm (no grunt, gulp, etc. please)?</p>