Skip to content

t-kuni/ts-cli-app-template

Repository files navigation

About

Project template for TypeScript CLI application.

Features

Feature Library
Onion Architecture -
Dependency Injection tsyringe
Command Line Interface cmd-ts
Configuration dotenv
Logging winston
Testing jest
Date Time Manipulation luxon

Usage

npm install
cp .env.example .env

Build application

npm run build
# or
npm run watch

Run application

export ENV=local
node dist/src/main.js cmd1

Run tests

npm run test

Run lint

npm run lint

# With fix
npm run lint-fix

Build container

docker build --tag example-container .

Run container

docker run example-container main.js cmd1

Setting jetbrains IDE

2022-11-13_20-05

Release new version

Document

Update all packages

Document

Todo

  • Logging
  • Debug
  • Scaffold command

About

Project template for TypeScript CLI application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published