title: Configuring Sublime 3 to Build TypeScript
body: <p>I am following the AngularJS <a href="https://angular.io/docs/js/latest/quickstart.html" rel="nofollow noreferrer">start guide</a> using Sublime. When I try to compile, I get the following error: </p>
  
  <pre><code>/Users/Audrey/MyDev/node/07tsdemo/app.ts(2,1): error TS1148: Cannot compile modules unless the '--module' flag is provided.
  /Users/Audrey/MyDev/node/07tsdemo/app.ts(4,1): error TS1205: Decorators are only available when targeting ECMAScript 5 and higher.
  /Users/Audrey/MyDev/node/07tsdemo/app.ts(11,7): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Specify '--experimentalDecorators' to remove this warning.
  [Finished in 2.2s with exit code 2]
  [cmd: ['tsc', '/Users/Audrey/MyDev/node/07tsdemo/app.ts']]
  [dir: /Users/Audrey/MyDev/node/07tsdemo]
  [path: /usr/bin:/bin:/usr/sbin:/sbin]
  </code></pre>
  
  <p>The other problem is that it seems sublime can't recognize the path and import properly. It's showing me some error in the editor. How can I config this to make it work? Thank you very much!!!</p>
  
  <p><a href="https://i.stack.imgur.com/2ezZJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2ezZJ.png" alt="enter image description here"></a></p>
  
  <ol>
  <li>Sample on <a href="https://github.com/vidaaudrey/tstest" rel="nofollow noreferrer">GitHub</a></li>
  <li><p>tsconfig.json</p>
  
  <pre><code>{
      "compilerOptions": {
          "out": "built/out.js", 
          "sourceMap": true, 
          "target": "es5"
      }, 
      "files": [
          "app.ts"
      ]
  }
  </code></pre></li>
  </ol>