Skip to content

TypeScript template for scaffolding Node.js library

Notifications You must be signed in to change notification settings

ishinvin/typescript-template

Repository files navigation

TypeScript Project Template

A simple typescript project template for scaffolding Node.js library with preconfigured tools for development, linting, testing, and bundling. This scaffold is designed to quickly start a new TypeScript project with minimal setup.

Preconfigured in This Template

  • TypeScript for Node.js
  • ESLint with TypeScript support
  • Jest for testing (with ts-jest)
  • tsup for bundling TypeScript to CJS/ESM
  • Rimraf for removing build directories
  • npm scripts: build, test, lint, clean

Quick Commands (pnpm)

  • Check TypeScript types
pnpm run check
  • Build project
pnpm run build
  • Run tests
pnpm run test
  • Clean build folder
pnpm run clean
  • Clean build + node_modules
pnpm run clean:all
  • Lint code
pnpm run lint
  • Lint & fix code
pnpm run lint:fix

About

TypeScript template for scaffolding Node.js library

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published