Install the dependencies:
npm installTo start the project in dev mode:
npm run devOpen the project in browser using this link: https://0.0.0.0:5173
To build the project:
npm run buildcp cypress.env.json.sample cypress.env.jsonTo run unit test:
npm run test:unitTo run end-to-end tests interactively:
npm run test:e2e:openTo run end-to-end tests headless-ly:
npm run test:e2e:runTo run all tests (unit and e2e) and merge coverage reports (to run in CI workflows):
npm run coverageInstall pre-commit hook:
npm run prepareToolings:
We are using Prettier to format the code, please add it to your editor/IDE and
make sure that it picks up the right config of this project
at /.prettierrc.cjs.
The pre-commit hook will run npm run lint before every commit. You can also
install eslint plugin to your editor/IDE to see the visualized error while
coding.
Please note that the unassigned imports (i.e. import './*.scss') are ignored
by the linter, please put them together with the sibling import group.