/typescript-test-boilerplate

Typescript boilerplate project with jest

Primary LanguageTypeScript

Introduction

This is boilerplate code for writing test code using jest based on node.js + typescript

Requirements

node-current
npm yarn
Typescript

$ yarn add --dev @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint typescript

eslint install

$ yarn add --D @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint typescript

jest install

$ yarn add --D jest @types/jest ts-loader ts-jest

Enroll command eslint

$ yarn eslint .

#Test

$ yarn run test

eslint automatically

$ yarn run lint