Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.32 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.32 KB

Open Chatalytics UI

CircleCI codecov

Development

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