Skip to content

rmoralp/node-ts-boilerplate

Repository files navigation

Minimalistic node typescript boilerplate

TypeScript version Node.js version

⚡️ Tools included and configured:

Works out of the box for most Node.js projects.

Getting Started

This project is intended to be used with the latest Active LTS release of Node.js.

Start new project

Use as a repository template

To start, just click the Use template link or the green button.

Clone repository

To clone the repository, use the following commands:

git clone https://github.com/rmoralp/node-ts-boilerplate
cd node-ts-boilerplate
npm install

Available Scripts

  • build - Transpile TypeScript to ES6
  • dev - Interactive watch mode to automatically transpile source files
  • lint - Lint source files and tests
  • lint:fix - Lint source files and tests and fix issues
  • phoenix - Clean install dependencies
  • prettier - Reformat files
  • start - Run the built app
  • test - Run tests once
  • test:watch - Run tests but watch for changes and rerun when they change