UNPKG

@bratislava/wysimark-editor

Version:

The customized fork of wysimark editor - A modern and clean rich text editor for React that supports 100% of CommonMark and GitHub Flavored Markdown.

140 lines (139 loc) 4.69 kB
{ "name": "@bratislava/wysimark-editor", "version": "3.2.2", "license": "MIT", "author": "Bratislava", "main": ".dist/node/index.cjs.js", "module": ".dist/node/index.esm.js", "browser": ".dist/browser/index.cjs.js", "types": ".dist/types/index.d.ts", "exports": { ".": { "node": { "require": "./.dist/node/index.cjs.js", "import": "./.dist/node/index.esm.js" }, "browser": { "require": "./.dist/browser/index.cjs.js", "import": "./.dist/browser/index.esm.js" }, "types": "./.dist/types/index.d.ts" } }, "files": [ "README.md", ".dist/" ], "description": "The customized fork of wysimark editor - A modern and clean rich text editor for React that supports 100% of CommonMark and GitHub Flavored Markdown.", "keywords": [ "contenteditable", "commonmark", "editor", "gfm", "githubflavoredmarkdown", "markdown", "portive", "rich", "richtext", "rich-text", "text", "wysimark", "wysiwyg" ], "devDependencies": { "@thesunny/assert-type": "^0.1.13", "@types/handlebars-helpers": "^0.5.3", "@types/is-hotkey": "^0.1.7", "@types/jest": "^29", "@types/lodash.throttle": "^4.1.7", "@types/mdast": "^3.0.0", "@types/prismjs": "^1.26.0", "@types/react": ">=17.x", "@types/react-dom": ">=17.x", "@types/unist": "^2.0.0", "change-case": "^4.1.2", "concurrently": "^7.2", "csstype": "^3.0.2", "eslint": "^8.4.1", "@bratislava-wysimark/eslint-config-custom": "*", "jest": "^29.6", "@bratislava-wysimark/jest-config": "*", "json-beautify": "^1.1.1", "just-map-values": "^3.2.0", "mdast-util-definitions": "^5.1.1", "plop": "^2.7", "prettier": "^2.8", "pretty-bytes": "^6.0.0", "remark-gfm": "^3.0.1", "remark-parse": "^10.0.1", "rimraf": "^4.1.2", "ts-node": "^10.9.1", "@bratislava-wysimark/tsconfig": "*", "tsup": "^6.7.0", "type-fest": "^3.2.0", "typescript": "^4.9.4", "unified": "^10.1.2", "unist-util-visit": "^4.1.2" }, "peerDependencies": { "react": ">=17.x", "react-dom": ">=17.x" }, "dependencies": { "@emoji-mart/data": "^1.1.0", "@emoji-mart/react": "^1.1.0", "@emotion/core": "^11.0.0", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@portive/client": "^10.0.3", "clsx": "^1.2.1", "dotenv": "^16.3", "emoji-mart": "^5.4.0", "is-hotkey": "^0.2.0", "lodash.throttle": "^4.1.1", "nanoid": "^3.3.6", "prismjs": "^1.29.0", "slate": "^0.85.0", "slate-history": "^0.85.0", "slate-react": "^0.83.2", "zustand": "^4.1.5", "mdast-util-definitions": "^5.1.1", "remark-gfm": "^3.0.1", "remark-parse": "^10.0.1", "unified": "^10.1.2", "unist-util-visit": "^4.1.2" }, "scripts": { "-- build": "# build with tsup.config.js", "build": "rimraf .dist && tsup src/entry/index.tsx", "build:cli": "rimraf .dist && tsup src/entry/index.tsx --dts --tsconfig=tsconfig.tsup.json --out-dir=.dist", "build:watch": "npm run build --watch", "-- fix": "# fix syntax", "fix": "npm run fix:prettier && npm run fix:eslint", "fix:eslint": "npm run lint:eslint --fix", "fix:prettier": "npm run lint:prettier --write", "-- lint": "# lint syntax", "lint": "concurrently 'npm run lint:prettier' 'npm run lint:eslint' 'npm run lint:tsc'", "lint:eslint": "eslint .", "lint:prettier": "prettier --check \"**/*.{css,md,js,jsx,json,ts,tsx}\"", "lint:tsc": "tsc --build ./ --force", "-- next": "# NextJs", "open": "open -a 'google chrome' http://localhost:3732", "start:local": "next dev -p 3732", "-- plop": "# Plop: specify ts-node https://github.com/plopjs/plop/issues/192", "plop": "TS_NODE_PROJECT=tsconfig.ts-node.json plop --plopfile plop/plopfile.ts", "-- release": "# publish to npm", "release": "npm run build && npm publish", "--- test": "# Temporarily disabling tests as there are none yet", "test:clearcache": "jest --clearCache", "# test:once:fast": "npm run test:clearcache && jest --config=jest.fast.config.cjs", "# test:once": "npm run test:clearcache && jest --config=jest.config.cjs", "# test:watch": "jest --watch --config=jest.fast.config.cjs", "# test:watch:types": "npm run test:clearcache && jest --watch --config=jest.config.cjs", "test:once": "FAST=0 jest --no-cache", "test:watch": "FAST=1 jest --watch", "-- preset": "# Run preset from ~/presets", "preset": "ts-node --project $HOME/presets/tsconfig.ts-node.json $HOME/presets/bin/index.ts", "-- end": "# end" } }