piggyman007 / node-typescript-console-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-typescript-console-boilerplate

Boiler plate for implementing console application using Node.JS and Typescript

Run test

Test files will have suffix .test.ts, e.g., index.test.ts

Run this command to run test

npm run test

Run code coverage

Code coverage analysis is integrated to this repository.

The coverage report is located at coverage folder.

The coverage threshold can be configured at .nycrc

Run code coverage by following this command

npm run cover

Run linter

TSLint is configured in this project.

Run linter by following this command

npm run lint

building package

Javascript package files will be contained in dist folder.

To build package to pure js files, run this command.

npm run build

About


Languages

Language:TypeScript 100.0%