@mdxeditor/editor 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,154 @@
1
+ {
2
+ "name": "@mdxeditor/editor",
3
+ "author": "Petyo Ivanov",
4
+ "homepage": "https://mdxeditor.dev/",
5
+ "bugs": {
6
+ "url": "https://github.com/mdx-editor/editor/issues",
7
+ "email": "petyo@virtuoso.dev"
8
+ },
9
+ "private": false,
10
+ "sideEffects": false,
11
+ "type": "module",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs",
16
+ "types": "./dist/index.d.ts"
17
+ },
18
+ "./package.json": "./package.json",
19
+ "./style.css": "./dist/style.css"
20
+ },
21
+ "main": "dist/index.cjs",
22
+ "module": "dist/index.js",
23
+ "types": "dist/index.d.ts",
24
+ "version": "0.0.1",
25
+ "description": "React component for rich text markdown editing",
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "keywords": [
30
+ "mdx",
31
+ "markdown",
32
+ "rich-text-editor",
33
+ "lexical",
34
+ "react"
35
+ ],
36
+ "license": "MIT",
37
+ "dependencies": {
38
+ "@codemirror/lang-markdown": "^6.1.1",
39
+ "@codemirror/state": "^6.2.1",
40
+ "@codesandbox/sandpack-react": "^2.6.7",
41
+ "@lexical/clipboard": "^0.11.1",
42
+ "@lexical/code": "^0.11.1",
43
+ "@lexical/link": "^0.11.1",
44
+ "@lexical/list": "^0.11.1",
45
+ "@lexical/markdown": "^0.11.1",
46
+ "@lexical/plain-text": "^0.11.1",
47
+ "@lexical/react": "^0.11.1",
48
+ "@lexical/rich-text": "^0.11.1",
49
+ "@lexical/selection": "^0.11.1",
50
+ "@lexical/utils": "^0.11.1",
51
+ "@radix-ui/colors": "^0.1.8",
52
+ "@radix-ui/react-dialog": "^1.0.4",
53
+ "@radix-ui/react-icons": "^1.3.0",
54
+ "@radix-ui/react-popover": "^1.0.6",
55
+ "@radix-ui/react-select": "^1.2.2",
56
+ "@radix-ui/react-toggle-group": "^1.0.4",
57
+ "@radix-ui/react-toolbar": "^1.0.4",
58
+ "@radix-ui/react-tooltip": "^1.0.6",
59
+ "classnames": "^2.3.2",
60
+ "downshift": "^7.6.0",
61
+ "hast-util-raw": "^8.0.0",
62
+ "hast-util-sanitize": "^4.1.0",
63
+ "hast-util-to-html": "^8.0.4",
64
+ "js-yaml": "4.1.0",
65
+ "lexical": "^0.11.1",
66
+ "mdast-util-directive": "2.2.4",
67
+ "mdast-util-from-markdown": "^1.3.0",
68
+ "mdast-util-frontmatter": "1.0.1",
69
+ "mdast-util-gfm-table": "^1.0.7",
70
+ "mdast-util-mdx": "2.0.1",
71
+ "mdast-util-mdx-jsx": "^2.1.4",
72
+ "mdast-util-to-hast": "^12.3.0",
73
+ "mdast-util-to-markdown": "1.5.0",
74
+ "micromark-extension-directive": "2.2.0",
75
+ "micromark-extension-frontmatter": "1.1.0",
76
+ "micromark-extension-gfm-table": "^1.0.6",
77
+ "micromark-extension-mdxjs": "1.0.1",
78
+ "react-diff-view": "^3.0.3",
79
+ "react-hook-form": "^7.44.2",
80
+ "unidiff": "^1.0.2"
81
+ },
82
+ "peerDependencies": {
83
+ "react": "^18.2.0",
84
+ "react-dom": "^18.2.0"
85
+ },
86
+ "devDependencies": {
87
+ "@babel/core": "^7.22.1",
88
+ "@babel/plugin-transform-react-jsx": "^7.22.3",
89
+ "@babel/plugin-transform-typescript": "^7.22.3",
90
+ "@babel/preset-react": "^7.22.3",
91
+ "@babel/preset-typescript": "^7.21.5",
92
+ "@ladle/react": "^2.13.0",
93
+ "@ngneat/falso": "^6.4.0",
94
+ "@testing-library/jest-dom": "^5.16.5",
95
+ "@testing-library/react": "^14.0.0",
96
+ "@types/js-yaml": "4.0.5",
97
+ "@types/mdast": "3.0.11",
98
+ "@types/node": "^20.2.5",
99
+ "@types/react": "^18.2.7",
100
+ "@types/react-dom": "^18.2.4",
101
+ "@types/testing-library__jest-dom": "^5.14.6",
102
+ "@types/unist": "^2.0.6",
103
+ "@typescript-eslint/eslint-plugin": "^5.59.7",
104
+ "@typescript-eslint/parser": "^5.59.7",
105
+ "@vitejs/plugin-react": "^4.0.0",
106
+ "autoprefixer": "^10.4.14",
107
+ "eslint": "^8.41.0",
108
+ "eslint-config-prettier": "^8.8.0",
109
+ "eslint-config-standard-with-typescript": "^34.0.1",
110
+ "eslint-plugin-html": "^7.1.0",
111
+ "eslint-plugin-import": "^2.27.5",
112
+ "eslint-plugin-json": "^3.1.0",
113
+ "eslint-plugin-n": "^16.0.0",
114
+ "eslint-plugin-prettier": "^4.2.1",
115
+ "eslint-plugin-promise": "^6.1.1",
116
+ "eslint-plugin-react": "^7.32.2",
117
+ "eslint-plugin-react-hooks": "^4.6.0",
118
+ "jsdom": "^22.1.0",
119
+ "postcss": "^8.4.24",
120
+ "postcss-extend": "^1.0.5",
121
+ "postcss-mixins": "^9.0.4",
122
+ "postcss-nesting": "^11.2.2",
123
+ "prettier": "^2.8.8",
124
+ "react": "^18.2.0",
125
+ "react-dom": "^18.2.0",
126
+ "svgo": "^3.0.2",
127
+ "terser": "^5.17.6",
128
+ "typedoc": "^0.24.8",
129
+ "typedoc-plugin-markdown": "^3.15.3",
130
+ "typedoc-plugin-no-inherit": "^1.4.0",
131
+ "typescript": "5.0.4",
132
+ "typescript-plugin-css-modules": "^5.0.1",
133
+ "vite": "^4.3.9",
134
+ "vite-plugin-dts": "^2.3.0",
135
+ "vite-plugin-svgr": "^3.2.0",
136
+ "vitest": "^0.31.1"
137
+ },
138
+ "publishConfig": {
139
+ "access": "public"
140
+ },
141
+ "engines": {
142
+ "node": ">=16"
143
+ },
144
+ "packageManager": "pnpm@8.3.0",
145
+ "scripts": {
146
+ "build": "vite build",
147
+ "build:docs:api": "./scripts/build_docs_api.sh",
148
+ "start": "LADLE=true ladle dev",
149
+ "dev": "LADLE=true ladle dev",
150
+ "typecheck": "tsc --noEmit",
151
+ "lint": "eslint src --ext .ts,.tsx",
152
+ "test": "vitest"
153
+ }
154
+ }