Skip to content

patricklizon/designgurus

Repository files navigation

design gurus solutions · test workflow

Simple environment for solving coding challenges.

Table of content

Prerequisites

  • Node - version specified in .nvmrc file.
  • npm - usually comes with node.

It's recommended to use node version manger (ie. fnm), for easier switching between different projects.

Setup

# Install dependencies
npm ci

# Start tests in watch mode
npm run test

Scripts

Summary of defined npm scripts.

Test

Script Description
test run tests in watch mode
test:run run tests once
test:types validates TS types
test:format validates code formatting
test:lint validates linting rules

Checks

Script Description
check:types validates TS types
check:format validates code formatting
check:lint validates linting rules

Fix

Script Description
fix:format tries to fix formatting
fix:lint tries to fix linter issues

About

Solutions to algorithmic problems

Resources

Stars

Watchers

Forks