{ "name": "@growi/editor", "version": "1.0.0", "description": "A markdown editor for GROWI", "license": "MIT", "private": "true", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "scripts": { "build": "tsc && vite build", "clean": "shx rm -rf dist", "dev": "vite build --mode dev", "watch": "pnpm run dev -w --emptyOutDir=false", "serve": "vite", "lint:js": "eslint **/*.{js,ts}", "lint:typecheck": "tsc", "lint": "npm-run-all -p lint:*" }, "dependencies": { "lib0": "^0.2.94", "markdown-table": "^3.0.3", "react": "^18.2.0", "react-dom": "^18.2.0" }, "// comments for devDependencies": { "string-width": "5.0.0 or above exports only ESM.", "@codemirror/*": "Fix version of @codemirror/state < 6.4.0 due to fix the issue of https://github.com/weseek/growi/pull/9267 and https://github.com/weseek/growi/pull/9043", "@codemirror/merge": "Fixed version at 6.0.0 due to errors caused by dependent packages" }, "devDependencies": { "@codemirror/autocomplete": "^6.18.1", "@codemirror/commands": "~6.2.5", "@codemirror/lang-markdown": "~6.2.5", "@codemirror/language": "~6.9.3", "@codemirror/language-data": "^6.5.1", "@codemirror/merge": "6.0.0", "@codemirror/state": "~6.3.0", "@codemirror/view": "~6.22.3", "@emoji-mart/data": "^1.2.1", "@emoji-mart/react": "^1.1.1", "@growi/core": "workspace:^", "@growi/core-styles": "workspace:^", "@lezer/highlight": "^1.2.0", "@popperjs/core": "^2.11.8", "@replit/codemirror-emacs": "^6.1.0", "@replit/codemirror-vim": "^6.2.1", "@replit/codemirror-vscode-keymap": "^6.0.2", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@uiw/codemirror-theme-eclipse": "^4.23.5", "@uiw/codemirror-theme-kimbie": "^4.23.5", "@uiw/codemirror-themes": "^4.23.5", "@uiw/react-codemirror": "^4.23.5", "bootstrap": "=5.3.2", "cm6-theme-basic-light": "^0.2.0", "cm6-theme-material-dark": "^0.2.0", "cm6-theme-nord": "^0.2.0", "codemirror": "^6.0.1", "csv-to-markdown-table": "^1.4.1", "emoji-mart": "^5.6.0", "eslint-plugin-react-refresh": "^0.4.1", "i18next": "^23.11.5", "lib0": "^0.2.94", "markdown-table": "^3.0.3", "react-dropzone": "^14.2.3", "react-hook-form": "^7.45.4", "react-toastify": "^9.1.3", "reactstrap": "^9.2.2", "string-width": "=4.2.2", "simplebar-react": "^2.3.6", "swr": "^2.2.2", "ts-deepmerge": "^6.2.0", "y-codemirror.next": "^0.3.5", "y-socket.io": "^1.1.3", "yjs": "^13.6.19" } }