mariasimo / advent-code-2021

Solving Advent of Code 2021 with Typescript and TDD https://adventofcode.com/2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2021

https://adventofcode.com/2021

  • Clone repository and install dependencies: npm install
  • Configure day to output at package.json:
config: {
  day: 1
}

Scripts

// Watch test of config day
"develop": "jest --watch src/day$npm_package_config_day/index.test.js",

// Watch solution of config day (day[number]/index.ts)
"solution:dev": "ts-node-dev --respawn --transpile-only --quiet --clear src/day$npm_package_config_day",

// Log every solved day
"solutions:log": "ts-node-dev build/src",

// Generate a new day boilerplace
"plop": "plop --plopfile scripts/plop/plopfile.js"
  

About

Solving Advent of Code 2021 with Typescript and TDD https://adventofcode.com/2021


Languages

Language:TypeScript 97.4%Language:JavaScript 2.1%Language:Handlebars 0.5%