- Make sure you have fulfilled the prerequisites.
- Run
yarn install
to set up Git hooks and install all JavaScript dependencies.
- While developing, you can run a local server using
yarn start
. This will start a server on http://localhost:9090. - To create a static HTML5 app build, run
yarn build
. The app will be built into thedist/
directory. - To run all unit tests once, run
yarn test:unit
. - To run all unit tests continuously, run
yarn test:watch
. - To run integration tests, run
yarn test:e2e
. - To run all tests, run
yarn test
. - To see how the dependencies affect bundle sizes, run
yarn analyze-bundle
.
Code is linted with ESLint, TSLint, and stylelint.
Running yarn install
will install a Git commit hook that will lint your code before each commit.
You can run both linters manually using yarn lint
.
- Node.js >= 11 + Yarn, for the build system
- Chrome v59.x or higher to run the tests headless
- Java 8 (or higher) to run the end-to-end tests (it powers the selenium server)