generator-typescript
v0.3.0
Published
Yeoman generator for typescript server-side projects
Downloads
4
Maintainers
Readme
generator-typescript
Yeoman generator for typescript projects.
Getting Started
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.
Enjoy!
This generator comes with Gulp with tasks for compiling and running.
To build and run the project:
$ gulp
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
Extend?
Edit 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.
(╯°□°)╯︵ ┻━┻
.
License
MIT