Cerebral React client

JavaScript code is in the client subdirectory. To rebuild the bundle you need to install the JS dependencies (listed in package.json). Run:

$ npm install

to install them. Then run:

$ npm run build

To rebuild the bundle after changing it.

If you want to rebuild the bundle and immediately after start the server you can use:

$ npm start

Testing

To run the tests use:

$ npm test

For checking coverage:

$ npm run coverage

After you can create a coverage report in html format:

$ npm run coverage:report

For checking linting errors:

$ npm run lint

You can automatically fix them with:

$ npm run format