The preferred way to install dependencies is Yarn. This repo
includes a yarn.lock
file to ensure dependencies are consistent on install.
npm i -g yarn
yarn install
For most development purposes running the watch
command should be enough
yarn watch
The watch
commands starts a webpack development server at
http://127.0.0.1:3000. It also watches test files in the test/
test
directory for changes and runs the changed tests as necessary. When making changes to the source
code in src/
, relavant tests will be run as well.
To manually run tests and generate a code coverage report (and lint the code),
yarn test
To build a production distribution (minified, etc.)
yarn build
The production build files will be located in dist/
.
This project uses Selenium for integration tests. Integration tests can be run using
yarn integrationtest