GitHub
6.09k
Created 6 years ago, last commit a month ago
21 contributors
1.93k commits
Stars added on GitHub, month by month
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
Stars added on GitHub, per day, on average
Yesterday
+5
Last week
+5.4
/day
Last month
+4.4
/day
Last 12 months
+3.7
/day
npmPackage on NPM
Monthly downloads on NPM
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
README

CodeMirror

Build Status

This is the central repository for CodeMirror. It holds the bug tracker and development scripts.

If you want to use CodeMirror, install the separate packages from npm, and ignore the contents of this repository. If you want to develop on CodeMirror, this repository provides scripts to install and work with the various packages.

To get started, make sure you are running node.js version 16. After cloning the repository, run

node 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

node 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.