Based on boilerplate project for typescript https://github.com/stemmlerjs/simple-typescript-starter.
Starts the application in development using nodemon
and ts-node
to do hot reloading.
Starts the app in production by first building the project with npm run build
, and then executing the compiled JavaScript at build/index.js
.
Runs the jest
tests once.
Run the jest
tests in watch mode, waiting for file changes.