JUST THE WAY I LIKE IT
This is my template for new Node.js projects. It is the best one.
npm install PACKAGENAMEUse as a GitHub template.
This template includes:
- ESLint v9+ with flat config and TypeScript support
- Prettier with automatic formatting
- TypeScript with strict checking
- node:test - Built-in Node.js test runner
- bupkis - Modern assertion library
- Husky - Git hooks for quality checks
- lint-staged - Run linters on staged files
- commitlint - Conventional commit enforcement
- cspell - Spell checking
- markdownlint - Markdown linting
- knip - Find unused dependencies
- Renovate - Automated dependency updates
- zshy - Dual-module TS builds
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run linters
npm run lint
# Auto-fix issues
npm run fix
# Watch mode for tests
npm run test:watchBacon ribeye ham hock kielbasa landjaeger drumstick pork chop andouille.
Copyright © 2019 Christopher Hiller. Licensed BlueOak-1.0.0