Compile TypeScipt source code.
This plugin requires Grunt
~0.4.0 and TypeScript
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-type --save-dev
*This plugin was designed to work with Grunt 0.4.x and TypeScript 0.9.x (currently in alpha). If you're still using grunt v0.3.x it's strongly recommended that you upgrade.
Run this task with the
grunt type command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Do not include a default lib.d.ts with global declarations.
Generates corresponding .map files.
Generates corresponding .d.ts file
Emit comments to output.
Specify ECMAScript target version:
'ES3' (default), or
Specify module code generation. Valid values are
commonjs (default) or
Throw error for use of deprecated
type:release:files:src: 'src/**/*.ts' dest: 'dist/app.js'options:sourcemap: truetarget: 'es5'