0.1.1 • Published 9 years ago

grunt-tvm-tsc v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

grunt-tvm-tsc

Compile TypeScript files to JavaScript with TypeScript Version Manager.

Getting Started

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-tvm-tsc --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-tvm-tsc');

Compile TypeScript with Version Manager task

Run this task with the grunt tvm_tsc command.

Usage Examples

tvm_tsc: {
  all: {
    options: {
      version: '1.0.1', // default: latest
      option: '--target ES5 --removeComments'
    },
    files: {
      'path/to/result.js': 'path/to/source.ts'
   }
 }
}

Options

version

  • Type: String
  • Default: 'latest'
  • TypeScript compiler version

option

  • Type: String
  • Default: empty
  • tsc Command-line argument as option: tsc options
0.1.1

9 years ago

0.1.0

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago