A modern, opinionated TypeScript project template with integrated code quality tools and Git workflow automation.
- ⚡ TypeScript configuration optimized for Node.js
- 🎨 Automated code formatting with Prettier
- 🔍 Code quality enforcement with ESLint
- 🪝 Git hooks for automated quality checks
- 📝 Standardized commit message templates
- Install dependencies:
npm clean-install
- Configure commit template:
git config commit.template .gitmessage
That's it! The installation automatically sets up Git hooks through the
prepare
script.
- We follow conventional commits with emoji support
- Reference our commit template
- See Gitmoji Guide for emoji usage
- Read How to Write Better Commits
Update the LICENSE
file before use. Choose a license:
🔍 Understanding the Template Build Process
npm init npm install --save-dev typescript @types/node npx tsc --initnpm install --save-dev \ eslint \ @eslint/js \ @types/eslint__js \ typescript-eslint \ prettier \ eslint-config-prettier \ @types/eslint-config-prettiernpm install --save-dev husky lint-staged npx husky-init && npm install
tsconfig.json
: TypeScript configurationeslint.config.mjs
: ESLint rules.prettierrc.mjs
: Prettier settings.lintstagedrc.mjs
: Pre-commit check configuration.husky/pre-commit
: Git hook scripts