Skip to content

A Well-documented TypeScript Solution To HackerRank Problems

License

Notifications You must be signed in to change notification settings

AndrewMamdouh/HackerRank

Repository files navigation

HackerRank Solution

HackerRank

Project Overview

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.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/AndrewMamdouh/HackerRank.git
  2. Navigate to the project directory:

     cd HackerRank
  3. Install required dependencies:

     yarn

Available Scripts

  • Testing

    Run Jest to execute tests:

     yarn run test
  • Documentation

    Generate documentation using JSDoc:

     yarn run doc
  • Linting

    Checks for linting errors in the codebase:

     yarn run trunk:check

    Fixes linting errors in the codebase:

     yarn run trunk:fix
  • Formatting

    Formats the codebase:

     yarn run trunk:format
  • Typings

    Performs type checking:

     yarn run type:check