Skip to content

SimpliRoute/node-boilerplate

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