generator-nodejs-cli-typescript
v0.1.5
Published
A Yeoman generator to setup a Node.js command-line interface app in Typescript
Downloads
37
Maintainers
Readme
Node.js CLI Typescript Generator
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-typescriptCreate a new project directory and run yo
mkdir your-project && cd &_
yo nodejs-cli-typescriptYou 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 -- --watchAuthors
- Lars Hisken ([email protected])
License
MIT
