This repository contains a code assignment. The compiled results can be viewed here.
Dependencies are managed in npm
.
npm install
or with yarn
yarn
Code is built using webpack
, and can be run with npm scripts.
For development:
npm run start # or
yarn run start # if you prefer yarn
For production builds:
npm run build # or
yarn run build # if your prefer yarn
Tests are written with mocha
and can be run with npm scripts.
npm run test # or
yarn run test # if you prefer yarn
This repository has an editorconfig file set up so that editor settings
can be consistent. If you don't have the editorconfig plugin installed for you editor, you can
automatically have eclint
check the source files by calling:
npm run eclint # or
yarn run eclint # if you prefer yarn
if you want to have the issues automatically fixed, run:
npm run eclint:fix # or
yarn run eclint:fix # if you prefer yarn
This repository has eslint set up for linting the javascript source files. The webpack build automatically calls the linter, but you can manually invoke it using npm scripts:
npm run eslint # or
yarn run eslint # if you prefer yarn