https://github.com/romaleev/node-template
Node.js template | Typescript, Eslint, Prettier, Git hooks
https://github.com/romaleev/node-template
Last synced: 11 months ago
JSON representation
Node.js template | Typescript, Eslint, Prettier, Git hooks
- Host: GitHub
- URL: https://github.com/romaleev/node-template
- Owner: romaleev
- Created: 2023-08-11T17:23:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-27T10:56:10.000Z (12 months ago)
- Last Synced: 2025-06-27T11:31:39.560Z (12 months ago)
- Language: TypeScript
- Homepage:
- Size: 648 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-template
## Task
Node.js template powered with:
- Typescript
- ESLint lint, fix, coverage
- Prettier lint, fix, organize imports
- Pre-commit hook with lint and test
- Editor config
- Jest test
- NPM check updates
## Installation
Run `pnpm install` to install dependencies
## Development
Run `pnpm start` to start the project
The application will automatically restart if you change any of the source files
## Build
Run `pnpm build` to build the project. The build artifacts will be stored in the `dist/` directory
## Run tests
Run `pnpm test:run` to execute unit tests
Run `pnpm test:watch` to execute unit tests in watch mode
Run `pnpm test:coverage` to generate [coverage report](./coverage/index.html)
## Run code quality checks
Run `pnpm lint` for code quality checks.
Run `pnpm lintfix` for code quality fixes. It happens automatically in pre-commit hook.
## Update library versions
Run `pnpm update` to update libraries to the latest versions.