harshai / ts-node-starter

Minimal ts-node starter pack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal typescript-node starter

Features

  • Hot loading
  • Prettier
  • ES lint
  • Pre-commit hooks to run prettier and eslint

Commands

  • npm run start:dev – Start nodemon, watch src and run src/index.ts
  • npm run start:prod – Build source and run build/index.js
  • npm run build – Compile and build src

Usage

  1. Clone this repo
  2. Update package info in package.json and this README.md
  3. Run npm install
  4. Run npm run start:dev

About

Minimal ts-node starter pack


Languages

Language:JavaScript 90.9%Language:TypeScript 9.1%