Skip to content

sumlie/leetcode

Repository files navigation

ts-template

Node.js Version TypeScript Nodemon Jest ESLint Prettier

A powerful TypeScript template for Node.js projects

Quick Start

  1. Clone the repository
    git clone https://github.com/sumlie/ts-template.git
    cd ts-template
  2. Install dependencies
    pnpm i
  3. Start project
    pnpm start

Scripts

  • pnpm dev - start in development mode (nodemon)
  • pnpm dev:silent - start in development mode with only your program's output (nodemon logs hidden)
  • pnpm build - compile ts to the dist/ directory
  • pnpm test - run jest tests
  • pnpm test:watch - run jest tests in watch mode (automatically re-runs on file changes)
  • pnpm lint - run eslint
  • pnpm lint:fix - autofix lint errors
  • pnpm enhance - check for available dependency updates

License

Licensed under the MIT License.

About

TypeScript solutions for LeetCode problems with comprehensive testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published