This is a boilerplate to be used in TypeScript (Static typing for JavaScript) node projects.
It includes the following with their appropriate configurations to ensure TypeScript compatibility:
EditorConfig for consistent coding styles between different editors and IDEs in a project.
ESLint for static code analysis.
Prettier for code formatting.
Jest for testing.
Husky for git hook management.
lint-staged for running linters against staged git files.
Nodemon for automatic reload.
Run in development mode:
npm run dev
Execute tests:
npm run test
Build for production:
npm run build
Start for production (Requires building for production first):
npm run start