Skip to content

ireddick/typescript-with-tests-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript with tests starter

This is a starter for when I want to play around with writing TypeScript with tests.

Features

  • Jest for tests
  • Type checks before running tests
  • Uses tsc directly for simplicity
  • Sourcemaps for navigation to failures
  • Incremental compilation to help with tsc slowness

Usage

Run tests with npm test

Clean build cache & output dir with npm run clean

Run the main script with npm start

Build output goes to target with no bundling, etc.

Irritations

tsc is slow, even with the incremental flag enabled

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published