Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrkev/generator-typescript
Yeoman generator for Typescript projects
https://github.com/mrkev/generator-typescript
Last synced: about 2 months ago
JSON representation
Yeoman generator for Typescript projects
- Host: GitHub
- URL: https://github.com/mrkev/generator-typescript
- Owner: mrkev
- Created: 2014-05-26T08:21:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T19:46:39.000Z (over 7 years ago)
- Last Synced: 2024-09-17T02:47:31.227Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- es6-tools - generator-typescript - Yeoman generator for TypeScript apps (Browser plugins / Brunch Plugins)
README
# generator-typescript [![Build Status](https://secure.travis-ci.org/mrkev/generator-typescript.png?branch=master)](https://travis-ci.org/mrkev/generator-typescript) [![Dependencies](https://david-dm.org/mrkev/generator-typescript.png)](https://david-dm.org/mrkev/generator-typescript#info=dependencies)
[Yeoman](http://yeoman.io) 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](https://npmjs.org) 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