profencer / tttt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ† Jest Typescript Starter

A starter for a node app with Jest, TypeScript and some other basic configurations.


Table of Contents

  1. Development Environment Setup
  2. Starting the Application
  3. Testing

πŸ”§ Development Environment Setup

Dependencies

  • node: 14.x.x
  • yarn: 1.x.x

Installation

To clone the repo:

git clone https://github.com/charlesdobson/jest-typescript-starter.git

To install all dependencies:

cd jest-typescript-starter && yarn

πŸš€ Starting the Application

Development

To start the application and watch for changes:

yarn serve

Production

To build the application:

yarn build

To start the application from the build output:

yarn start

πŸ† Testing

Watch Mode

The run the tests and watch for changes:

yarn test

Coverage

To run the tests once and generate code coverage:

yarn test:coverage

About

License:MIT License


Languages

Language:TypeScript 100.0%