Use the following commands to build the project and execute the test suites.
Building
To build the project (using build-jsonly):
npm run clean # if necessary
npm run build-jsonly
Running Tests
You can run tests against the unminified bundle or the minified files:
- Unminified bundle:
npm run test - Minified files (
.min.{css,js}): npm run test-min
To run a specific test from the command line using a grep pattern, use the -- separator:
npm run test -- --grep <pattern>
npm run clean # if necessary
npm run build-jsonly
npm run test # on the unminified bundle
npm run test-min # on the .min.{css,js}
npm run test -- --grep highlight-series-background