title: Separate Angular2 TypeScript files and JavaScript files into different folders, maybe 'dist‘
body: <p>I am using the <a href="https://angular.io/docs/ts/latest/quickstart.html">5 min quickstart</a> from angular.io website, which contain a file structure like this:</p>
  
  <pre><code>angular2-quickstart
   app
     app.component.ts
     boot.ts
   index.html
   license.md
   package.json
   tsconfig.json
  </code></pre>
  
  <p>the tsconfig.json is a code block like this ：</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "ES5",
      "module": "system",
      "moduleResolution": "node",
      "sourceMap": true,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "removeComments": false,
      "noImplicitAny": false
    },
    "exclude": [
      "node_modules"
    ]
  } 
  </code></pre>
  
  <p>Also the package.json:</p>
  
  <pre><code>{
    "name": "angular2-quickstart",
    "version": "1.0.0",
    "scripts": {
      "tsc": "tsc",
      "tsc:w": "tsc -w",
      "lite": "lite-server",
      "start": "concurrent \"npm run tsc:w\" \"npm run lite\" "
    },
    "license": "ISC",
    "dependencies": {
      "angular2": "2.0.0-beta.0",
      "systemjs": "0.19.6",
      "es6-promise": "^3.0.2",
      "es6-shim": "^0.33.3",
      "reflect-metadata": "0.1.2",
      "rxjs": "5.0.0-beta.0",
      "zone.js": "0.5.10"
    },
    "devDependencies": {
      "concurrently": "^1.0.0",
      "lite-server": "^1.3.1",
      "typescript": "^1.7.3"
    }
  }
  </code></pre>
  
  <p>I change the sourceMap from true to false, so in the code editor, the map file is not generated again, but the js file still get generated. </p>
  
  <p>I want to work on only ts file and don't want to get a brunch of js and js.map file, what should I do to put all my ts files in my regular develop floder like app folder and all the js and js.map files into a folder called dist?</p>
  
  <p>A good example of this might be <a href="https://github.com/AngularClass/angular2-webpack-starter">angular2-webpack-quickstart</a>. But I didn't figure out how they do that?</p>
  
  <p>Any advice how to do that, of course not manually.</p>
  
  <p>Thanks,</p>