Skip to content

A production-ready Node.js boilerplate including Typescript, ESLint, Prettier and Vitest configuration.

Notifications You must be signed in to change notification settings

jessy-bgl/node-ts-boilerplate

Repository files navigation

node-ts-boilerplate

Boilerplate for a NodeJS project with TypeScript, ESLint, Prettier and Vitest included.

Getting Started

Install node modules

npm install

Included Scripts

  • dev - run in dev mode with auto-restart
  • start:dev - run in dev mode
  • start - run in production mode
  • lint - lint source files and tests
  • prettier - reformat files
  • test - run tests
  • test:watch - interactive watch mode to automatically re-run tests
  • test:cov - run tests and generate code coverage reports
  • clean - remove coverage data and transpiled files
  • build - transpile TypeScript to ES5
  • build:release - clean + build

About

A production-ready Node.js boilerplate including Typescript, ESLint, Prettier and Vitest configuration.

Topics

Resources

Stars

Watchers

Forks