Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 686 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (22 loc) · 686 Bytes

Contributing

Development

Tests are defined using the node:test and node:assert modules. Running the tests require Node 21 or newer:

npm run test

We use ESLint to lint JavaScript code.

npm run lint

While Culori can be used from source in environments supporting ES Modules, we also use esbuild to build bundles in CommonJS, ESM, and UMD formats.

npm run build

Documentation

The documentation website [culorijs.org] is built with Eleventy out of the www/ folder, and deployed on GitHub pages via the gh-pages branch.

The following scripts are available:

npm run docs:start
npm run docs:build
npm run docs:deploy