This repo is a monorepo powered by npm's official workspace feature. It contains the following packages:
This is the Quill library. It's written in TypeScript, and use Webpack as the bundler. It uses Vitest for unit testing, and Playwright for E2E testing.
It's Quill's website (hosted at quilljs.com). It's built with Next.js.
To prepare your local environment for development, ensure you have Node.js installed. The repo uses npm, and doesn't support Yarn and pnpm.
Install the necessary dependencies with the command below:
npm install
Start the development environment using:
npm start
This command starts two services:
These servers dynamically build and serve the latest copy of the source code.
Access the running website at localhost:9000. By default, the website will use your local Quill build, that includes all the examples in the website. This convenient setup allows for seamless development and ensures changes to Quill do not disrupt the website's content.
If you need to modify only the website's code, start the website with npm start -w website
`. This makes the website use the latest CDN version.
To run the unit tests in watch mode, run:
npm run test:unit -w quill
To execute the E2E tests, run:
npm run test:e2e -w quill
A standard development workflow involves:
npm start
- to run development servicesnpm run test:unit -w quill
- to run unit tests