Skip to content

SimpliRoute/node-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

188b901 · Sep 12, 2020

History

18 Commits
Dec 22, 2019
Dec 22, 2019
Dec 22, 2019
Aug 19, 2019
Dec 22, 2019
Dec 22, 2019
Dec 22, 2019
Sep 12, 2020
Dec 22, 2019
Dec 22, 2019
Sep 12, 2020

Repository files navigation

ts-node-base

A boilerplate to start a new TypeScript NodeJS project, super fast NodeJS + TypeScript + Jest.

NPM Scripts included

  • Jest test

# run tests with coverage
$ npm test

# run test in Jest watch mode (no coverage)
$ npm run test:watch
  • Build TS Code

# Build Typescript to javascript at dist folder (check tsconfig.json)
$ npm run build

# build and keep waiting for changes to rebuild
$ npm run build:watch
  • Run code with ts-node

$ npm start