Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 747 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 747 Bytes

Typescript Starter

This is my personal TypeScript starter project with Typescript/Prettier/ESLint/Vitest

Unit tests

Run the unit test with this command:

npm run test

Coverage of unit tests

You can check the code coverage and view the html results by running this command:

npm run test:coverage && open coverage/index.html

Using this project

  1. Clone the repository into a new folder:
git clone https://github.com/MacMannes/typescript-starter folder-name
  1. Squash all commits and remove the git origin with the following commands:
git reset --soft $(git rev-list --max-parents=0 HEAD)
git add -A
git commit --amend --reset-author -m "Initial commit"
git remote rm origin