Grunt plugin to automate TSD and TypeScript definition related tasks
Switch branches/tags
Latest commit d0caafd Jul 6, 2015 @basarat basarat Merge pull request #13 from uwinkelvos/master
use stable TSD 0.6.3
Failed to load latest commit information.
lib config is not optional Mar 26, 2014
tasks improved testing Jan 14, 2014
.gitignore improved testing Jan 14, 2014
.jshintrc updated tsd to 0.5.4 Feb 4, 2014
.travis.yml travis notifications to @Bartvds Jan 14, 2014
LICENSE-MIT using TSD 0.6 prerelease Dec 3, 2014
package.json use stable TSD 0.6.3 Jul 3, 2015


Build Status NPM version

Grunt plugin to automate tsd and TypeScript definition related tasks

Getting Started

This plugin requires Grunt ~0.4.1

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:

Grunt-tsd 0.2.0 is a pre-release for TSD 0.6.0, use @next tag

$ npm install grunt-tsd@next --save-dev

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


The "tsd" task


	tsd: {
		refresh: {
			options: {
				// execute a command
				command: 'reinstall',

				//optional: always get from HEAD
				latest: true,

				// specify config file
				config: '../conf/tsd.json',

				// experimental: options to pass to tsd.API
				opts: {
					// props from tsd.Options


  • 0.2.0 - TSD 0.6.x support (fist as prerelease @next)
  • 0.1.0 - reinstall always resolves dependencies, saves to config/bundle and overwrites
  • 0.0.2 ... 0.0.4 - Updating TSD version to 0.5.6
  • 0.0.1 - First release for TSD 0.5.2


Contributions are very welcome, please create an Issue before doing something major.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.