@ihsanabuhanifah/react-math-editor 1.0.0
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/LICENSE +21 -0
- package/README.md +176 -0
- package/dist/components/LatexCheatSheet.d.ts +15 -0
- package/dist/components/MathFormulaModal.d.ts +9 -0
- package/dist/components/RenderMathHTML.d.ts +10 -0
- package/dist/components/TextEditor.d.ts +15 -0
- package/dist/index.cjs +553 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +94789 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/markdownTable.d.ts +6 -0
- package/dist/style.css +1 -0
- package/package.json +77 -0
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ihsanabuhanifah/react-math-editor",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Rich text editor and math renderer component for React with KaTeX formulas, tables, code blocks, and markdown support.",
|
|
5
|
+
"author": "Ihsan Abu Hanifah",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs",
|
|
14
|
+
"types": "./dist/index.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./dist/style.css": "./dist/style.css"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "vite",
|
|
25
|
+
"build": "tsc && vite build",
|
|
26
|
+
"prepublishOnly": "npm run build"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"react": ">=18.0.0",
|
|
30
|
+
"react-dom": ">=18.0.0"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@tiptap/core": "^2.11.5",
|
|
34
|
+
"@tiptap/extension-code-block-lowlight": "^2.11.5",
|
|
35
|
+
"@tiptap/extension-highlight": "^2.11.5",
|
|
36
|
+
"@tiptap/extension-image": "^2.11.5",
|
|
37
|
+
"@tiptap/extension-placeholder": "^2.11.5",
|
|
38
|
+
"@tiptap/extension-subscript": "^2.11.5",
|
|
39
|
+
"@tiptap/extension-superscript": "^2.11.5",
|
|
40
|
+
"@tiptap/extension-table": "^2.11.5",
|
|
41
|
+
"@tiptap/extension-table-cell": "^2.11.5",
|
|
42
|
+
"@tiptap/extension-table-header": "^2.11.5",
|
|
43
|
+
"@tiptap/extension-table-row": "^2.11.5",
|
|
44
|
+
"@tiptap/extension-text-align": "^2.11.5",
|
|
45
|
+
"@tiptap/extension-underline": "^2.11.5",
|
|
46
|
+
"@tiptap/react": "^2.11.5",
|
|
47
|
+
"@tiptap/starter-kit": "^2.11.5",
|
|
48
|
+
"highlight.js": "^11.9.0",
|
|
49
|
+
"katex": "^0.16.9",
|
|
50
|
+
"lowlight": "^3.1.0",
|
|
51
|
+
"lucide-react": "^0.475.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/katex": "^0.16.7",
|
|
55
|
+
"@types/node": "^20.11.0",
|
|
56
|
+
"@types/react": "^18.2.48",
|
|
57
|
+
"@types/react-dom": "^18.2.18",
|
|
58
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
59
|
+
"typescript": "^5.3.3",
|
|
60
|
+
"vite": "^5.0.12",
|
|
61
|
+
"vite-plugin-dts": "^3.7.2"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"react",
|
|
65
|
+
"tiptap",
|
|
66
|
+
"text-editor",
|
|
67
|
+
"wysiwyg",
|
|
68
|
+
"katex",
|
|
69
|
+
"latex",
|
|
70
|
+
"math-editor",
|
|
71
|
+
"markdown-table",
|
|
72
|
+
"rich-text"
|
|
73
|
+
],
|
|
74
|
+
"publishConfig": {
|
|
75
|
+
"access": "public"
|
|
76
|
+
}
|
|
77
|
+
}
|