/generator-ts-module

Primary LanguageJavaScriptISC LicenseISC

generator-ts-module Build Status

A Yeoman generator for TypeScript NPM modules built off of domharrington/generator-npm-module

Getting Started

$ npm install -g yo generator-ts-module

Start the generator in a new directory and follow the instructions:

$ yo ts-module

That'll generate an npm project with a common tools setup. This includes:

  • Filled package.json file
  • Gulp Task runner
  • TypeScript Type checking (compiles to ES6 for async/await & generator support)
  • tslint Linting and code style checking
  • Typings The new way of managing TypeScript definition files
  • Babel ES2015 transpiler to get to ES5 code
  • Mocha Unit testing
  • Chai Assertion library
  • Travis CI Continuous integration
  • ISC License

License

ISC