Project template for TypeScript CLI application.
| Feature | Library |
|---|---|
| Onion Architecture | - |
| Dependency Injection | tsyringe |
| Command Line Interface | cmd-ts |
| Configuration | dotenv |
| Logging | winston |
| Testing | jest |
| Date Time Manipulation | luxon |
npm install
cp .env.example .env
npm run build
# or
npm run watch
export ENV=local
node dist/src/main.js cmd1
npm run test
npm run lint
# With fix
npm run lint-fix
docker build --tag example-container .
docker run example-container main.js cmd1
- Logging
- Debug
- Scaffold command
