Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

A NodeJS starter project with TypeScript and esbuild.

License

Notifications You must be signed in to change notification settings

FreekMencke/node-typescript-starter

Repository files navigation

THIS PROJECT IS ARCHIVED, PLEASE GO TO NODE-TS-STARTER-CLI FOR THE SUCCESSOR OF THIS PROJECT.


CI GitHub issues GitHub license

Node TypeScript Starter

Since I make a lot of projects, I created this Node TypeScript Starter to easily create a new Node project with TypeScript.

Getting started

Option 1

Use the node-ts-starter-cli to generate a project for you:

npx node-ts-starter-cli create your-project-name -M

Option 2

You can also clone this repository. It was generated by node-ts-starter-cli with the maximal flag.

git clone https://github.com/FreekMencke/node-typescript-starter.git

Features

  • Strict TSConfig
  • esbuild
  • EditorConfig
  • Commitizen
  • ESLint
  • Docker support
  • Github Action CI
  • Separate Dev/Prod config files

Analyzing your bundle

With esbuild we can generate a meta.json file using the npm run build:meta or npm run build:meta:prod commands, which we can then can be uploaded to Bundle Buddy to perform a detailed bundle analasys.