Hi, this is just a really simple project to enjoy learning Object Oriented Programing.
With this project, I'll try to solve some exercises in order to learn something related with programing.
This project is created in the context of some sessions with a group of students who wanted to learn some core concepts. I created a small diary of each session with them. You can find the log of each session here.
We'll use yarn as a build system (however you can use npm if you feel more confortable), but take into account the dependencies are just locked for yarn (see yarn.lock file).
First of all, you'll need to install the dependencies, otherwise you'll be able to do nothing :S
yarn install
We use tslint to ensure our code style is compliant with the standard, to ensure the code is ok, you just need to run
yarn lint
In case you find any violation, you may want to let tslint fixing some errors with no manual operations. It won't fix every single error, but some anoying related with tabs and spaces. Just run:
yarn fixLint
We use Jest as test framework. Running the tests is easy, just execute:
yarn test
In case you're using vscode, you can also run the test as I uploaded the .vconfig folder to make it easy runnig test.