Node.js with TypeScript project startup template.
Command | Description |
---|---|
npm start |
Compile and start project |
npm run dev |
Start project in dev mode |
npm run build |
Build project |
npm run lint |
Run linter |
npm run lint:fix |
Fix linter errors |
npm run post:install |
Install pre-commit git hook |
Needed packages:
npm i -D typescript @types/node ts-node-dev
Needed packages:
npm i -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser
Needed packages:
npm i -D prettier eslint-config-prettier eslint-plugin-prettier
- Implement environment global vars
- Add
nix-shell
configuration - Improve eslint rules
- Improve template scrips
- Add testing settings