/node-ts-boilerplate

A NodeJS TypeScript project boilerplate with settings and a common toolchain in place. Good for starting a new project from scratch

Primary LanguageTypeScript

Introduction

A NodeJS TypeScript project boilerplate with settings and common toolchain in place. Good for starting a new project from scratch:

Volta

Use Volta to manage your toolchain. See package.json

  • node
  • npm
  • yarn

Typescript

Choose the typescript configuration for your NodeJS version.

ESlint

Standard configuration for Nodejs + TypeScript.

npm init @eslint/config

Current settings:

✔ How would you like to use ESLint? · style

✔ What type of modules does your project use? · esm

✔ Which framework does your project use? · none

✔ Does your project use TypeScript? · Yes

✔ Where does your code run? · node

✔ How would you like to define a style for your project? · guide

✔ Which style guide do you want to follow? · standard-with-typescript

✔ What format do you want your config file to be in? · JSON

Gitignore

Editorconfig