Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.
/ ts-node-base Public archive

A template for kickstarting a typescript-node app, with the common things set up

Notifications You must be signed in to change notification settings

robb-j/ts-node-base

Repository files navigation

A Typescript Node Project

This project was setup with robb-j/ts-node-base which creates a node app, with the common things already setup for Typescript.

Deprecated: I now use puggle and puggle-presets to bootstrap my projects

Template Features

  • Multi-stage docker build to install, test and deploy
  • Testing setup with jest, ts-jest
  • Linting setup with tsc
  • Auto load .env files with dotenv

Dev Commands

# Run in dev mode and restart on file changes
npm run dev

# Lint the source code
npm run lint

# Manually format code
# -> This repo runs prettier on git-stage, so committed code is always formatted
npm run prettier

# Run the unit tests
# -> Looks for .spec.ts files in the src directory
npm test

# Generate code coverage in coverage/
npm run coverage

About

A template for kickstarting a typescript-node app, with the common things set up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published