We welcome contributions from everyone!
Make sure you have Node.js and mise installed.
- Fork this repository and clone your fork
- Install pnpm via mise:
mise install - Install dependencies:
pnpm install - Install browsers for E2E test:
pnpm setup
Run the build with the following command:
pnpm buildTesting is a crucial part of any software project. For all but the most trivial changes (typos, etc) test cases are expected.
This project uses Vitest for the unit test. Run the test with the following command:
- Run all test suites but watch for changes and rerun tests when they change:
pnpm test:unit - Perform a single run without watch mode:
pnpm test:unit run
This project uses Playwright for the end-to-end test.
- In all available and supported browsers:
pnpm test:e2e - In a specific browser:
pnpm test:e2e --project=chromium,pnpm test:e2e --project=firefox, etc.
You can use pnpm test:e2e:skipbuild to skip the build if you are sure it has already been built.