Skip to content

base repository for developing typescript app with docker.

License

Notifications You must be signed in to change notification settings

tktcorporation/typescript-docker-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test

typescript-base

For creating a Typescript repository.

Tools

You can customize them easily.

Lint

Format

Test

Build

Get Started

Building Docker

$ docker-compose build

Working in Docker container

$ docker-compose run app /bin/bash

Installation

$ yarn

Lint

# Find linting error and warnings
$ yarn lint

# Run lint fixing
$ yarn lint:fix

Format

# Run format
$ yarn format

# This will return exit code 1 if all files are not formatted
$ yarn format:check

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Build

# Run build
$ yarn build