To get up and running, install the dependencies and run the full build:
yarn
yarn ci
You can also inspect the other available dev flows scripts:
yarn run
The toml-tools source code is formatted using prettier. Modified files will be formatted incrementally using a git commit hook via lint staged.
Reformatting the whole project can be invoked using:
yarn run format:fix
All Unit tests in this project are implemented with the Mocha testing framework and the Chai assertion library. The choice of Mocha versus some of the newer testing libraries (Jest/Ava) was intentional, Mocha was chosen in order to avoid separate processes per test file which means paying the initialization cost of a Chevrotain based Parser multiple times per tests execution.