Skip to content

Files

Latest commit

29ecc2f · Aug 14, 2021

History

History
This branch is 2 commits ahead of, 7 commits behind christianhujer/expensereport:trunk.

expensereport-typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021
Aug 14, 2021

expensereport-typescript

The ExpenseReport refactoring example in TypeScript.

Technologies used

  1. Typescript as the main programming language
  2. Jest as the testing framework
  3. Eslint as the linting tool
  4. Prettier as the formatting tool

Prerequisites

  1. NVM installed on your machine from here

Setup instructions

./configure.sh  # will use nvm to install and activate the appropriate version of node
npm test # will run all the tests
npm bulid # will create a build of the project
node build/output.js # will run the compiled output
npm run format:check # runs the linter and formatter rules
npm run format:fix # applies a fix to the fixable issues