This is my personal TypeScript starter project with Typescript/Prettier/ESLint/Vitest
Run the unit test with this command:
npm run test
You can check the code coverage and view the html results by running this command:
npm run test:coverage && open coverage/index.html
- Clone the repository into a new folder:
git clone https://github.com/MacMannes/typescript-starter folder-name
- 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