Directory structure:
- dist
- src
- tests
Includes:
- Node 18.6
- Typescript 4.8.4
- Jest 29.2.2
Base config: node18/tsconfig.json
Run tests:
npx jest
Compile:
npx tsc
Execute:
node dist/index.js
Because I've done this so many times this year and I never want to do it again
TypeScript
Directory structure:
Includes:
Base config: node18/tsconfig.json
Run tests:
npx jest
Compile:
npx tsc
Execute:
node dist/index.js