This repository is dedicated to solving various problems using TypeScript. The scripts provided in the package.json
file are designed to facilitate testing, documentation generation.
-
Clone the repository to your local machine:
git clone https://github.com/AndrewMamdouh/HackerRank.git
-
Navigate to the project directory:
cd HackerRank
-
Install required dependencies:
yarn
-
Run Jest to execute tests:
yarn run test
-
Generate documentation using JSDoc:
yarn run doc
-
Checks for linting errors in the codebase:
yarn run trunk:check
Fixes linting errors in the codebase:
yarn run trunk:fix
-
Formats the codebase:
yarn run trunk:format
-
Performs type checking:
yarn run type:check