A powerful TypeScript template for Node.js projects
- Clone the repository
git clone https://github.com/sumlie/ts-template.git cd ts-template
- Install dependencies
pnpm i
- Start project
pnpm start
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/ directorypnpm test
- run jest testspnpm test:watch
- run jest tests in watch mode (automatically re-runs on file changes)pnpm lint
- run eslintpnpm lint:fix
- autofix lint errorspnpm enhance
- check for available dependency updates
Licensed under the MIT License.