codemirror-ot
Version:
Operational Transformation adapter for CodeMirror 6.
55 lines (54 loc) • 1.59 kB
JSON
{
"name": "codemirror-ot",
"version": "5.8.0",
"description": "Operational Transformation adapter for CodeMirror 6.",
"main": "dist/codemirror-ot.js",
"module": "src/index.js",
"scripts": {
"prettier": "prettier --single-quote {*.js,**/*.js} --write",
"lint": "eslint .",
"build": "rm -rf dist; rollup -c rollup.config.js --bundleConfigAsCjs",
"test": "npm run build && NODE_OPTIONS=--enable-source-maps mocha dist/test",
"prepublishOnly": "npm run build && npm run test",
"postpublish": "git push && git push --tags",
"ncu": "ncu -u"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vizhub-core/codemirror-ot.git"
},
"keywords": [
"OT",
"Code",
"Editor",
"Text"
],
"author": "Curran Kelleher",
"license": "MIT",
"bugs": {
"url": "https://github.com/vizhub-core/codemirror-ot/issues"
},
"homepage": "https://github.com/vizhub-core/codemirror-ot#readme",
"peerDependencies": {
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.1"
},
"devDependencies": {
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-html": "^6.4.10",
"@codemirror/lang-javascript": "^6.2.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"diff-match-patch": "^1.0.5",
"eslint": "^9.36.0",
"jsdom": "^27.0.0",
"json0-ot-diff": "^1.1.2",
"mocha": "^11.7.2",
"ot-json0": "^1.1.0",
"ot-json1": "^1.0.2",
"ot-text-unicode": "^4.0.0",
"prettier": "^3.6.2",
"rollup": "^4.52.0",
"sharedb": "^5.2.2"
}
}