Skip to content

larshisken/generator-nodejs-cli-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published