Yeoman generator for typescript projects.
Get to know Yeoman.
He's a cool guy. He wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
$ npm install -g yo
Run the generator
To install generator-typescript from npm, run:
$ npm install -g generator-typescript
Finally, initiate the generator:
$ yo typescript
Tell it what to name your project, where to put your files and how to setup your typescript compilation.
This generator comes with Gulp with tasks for compiling and running.
To build and run the project:
To build only:
$ gulp build
To run only:
$ gulp run
To automatically build when a file changes:
$ gulp watch
To automatically build and run when a file changes
$ gulp watchrun
gulpfile.js to change de default file to run or the paths to watch. Do you feel like flipping tables because this generator is missing some kick-ass feature? I'll keep an eye at issues for table flips.