Development environment
The main package’s GitHub repository hosts all other easepick sub-packages.
Requirements
In order to start developing easepick you will require:
- Node.js 22+
- npm 10+
- Git
Setting up the easepick development environment
Clone the easepick repository:
git clone https://github.com/GoThassos/easepick.git
cd easepickAnd install all easepick dependencies from the npm registry.
npm installThe packages are npm workspaces, so npm install links them into node_modules/@gothassos/ for you.
Running tests
In order to run tests, you need to use the test.
npm testAny new code that can be tested must come with tests, bug fixes included. The packages are at 100% coverage and CI fails if it drops. Check it with:
npm run test:coverageSee CONTRIBUTING.md for what to run before opening a pull request.
Creating a build
Creating development version:
npm run devCreating minified version:
npm run prodWorking on the documentation
This site lives in the docs/ folder and is built with VitePress. Its live demos use the packages built from this repository, so build them first:
npm run prod
npm run docs:devnpm run docs:build creates the static site in docs/.vitepress/dist.