0.1.5 • Published 7 years ago

generator-nodejs-cli-typescript v0.1.5

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Node.js CLI Typescript Generator

npm version

A Yeoman generator to setup a Node.js command-line interface app in Typescript 2.0

Usage

Install generator-nodejs-cli-typescript globally

npm i -g generator-nodejs-cli-typescript

Create a new project directory and run yo

mkdir your-project && cd &_
yo nodejs-cli-typescript

You can use npm run to get information about available tasks

Lifecycle scripts included in your-project:
  test
    npm run build && mocha --compilers ts:ts-node/register --recursive test/**/*-spec.ts

available via `npm run-script`:
  clean
    rimraf dist
  build
    npm run clean && tsc --pretty
  watch
    npm run build -- --watch
  watch:test
    npm run test -- --watch

Authors

License

MIT

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago