title: Move external libraries to wwwroot folder with gulp
body: <p>I am using VS 2015 + ASP.net vnext + Angular 2 + Typescript + gulp.js. I have automated my <code>scripts/**/*.ts</code> files moving to the <code>wwwroot/app</code> folder. Now I want to do the same for my libraries like Angular 2. I want that a gulp process injects </p>
  
  <ul>
  <li><code>angular.js</code> inside <code>index.html</code> inside the <code>&lt;environment names="Development"&gt;</code> node;</li>
  <li><code>angular.min.js</code> inside <code>index.html</code> inside the <code>&lt;environment names="Production"&gt;</code> node.</li>
  </ul>
  
  <p>Of course I want that this to happen for all my libs automatically,  without having knowledge about a library: </p>
  
  <ul>
  <li><code>&lt;any&gt;.min.js</code> (production)</li>
  <li><code>&lt;any&gt;.js</code> (development)</li>
  </ul>
  
  <p>The minification of <code>any.js</code> can be done by me.</p>
  
  <p>Actually I would just have to regard all <code>dependencies</code> in <code>package.json</code>... but then I am lost.</p>
  
  <p>Can my idea be done or does there maybe already exist a tool? Or should the workflow broken into more manual steps like I have to copy/paste a certain library?</p>
  
  <p>Or is it possible to take the <code>dependencies</code> name and concat it with <code>.js</code> then search this file under the <code>node_modules</code> folder... (kind of hacky and not safe...)</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Rephrase/Refine my question:</p>
  
  <p>How can I automatically add my npm <code>dependencies</code> (not <code>devDependencies</code>) to the environment <code>"Development"</code> node when triggering a certain event like build/clear/etc...</p>