This is the central repository for CodeMirror 6. It holds the bug tracker and development scripts.
To get started, make sure you are running node.js version 14. After cloning the repository, make sure you have yarn installed and run
bin/cm.js install
to clone the packages that make up the system, install dependencies, and build the packages. At any time you can rebuild packages, either by running npm run prepare
in their subdirectory, or all at once with
bin/cm.js build
Developing is best done by setting up
npm run dev
which starts a server that automatically rebuilds the packages when their code changes and exposes a dev server on port 8090 running the demo and browser tests.
Please see the website for more information and docs.