Skip to content

shawnkoon/coding-challenge-typescript

Repository files navigation

coding-challenge-typescript

Master 💻 GreenKeeper 🌱
Build Status Greenkeeper badge

List of coding challenge questions with my solutions using typescript.

Key Points

  • 🎯 Algorithms & DataStructure

  • 🎯 Continuous Integration

  • 🎯 Problem Solving

  • 🎯 Test Driven Development (TDD)

  • 🎯 TypeScript & ES2015+

How to run

  1. Install Node & NPM.
Install dependencies

$ npm run install

Run mocha tests

$ npm run test

Running individual file

  1. Install Node & NPM.
Install dependencies

$ npm run install

Run typescript file.

$ npm run start src/___/___.ts

or

$ npx ts-node src/___/___.ts

Build and run Javascript (Optional)

  1. Install Node & NPM.
Install dependencies

$ npm run install

Build typescript files.

$ npm run build

Run specific compiled js file with node.

$ node dist/___/___.js