@matops/editor 0.1.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/package.json ADDED
@@ -0,0 +1,99 @@
1
+ {
2
+ "name": "@matops/editor",
3
+ "version": "0.1.0",
4
+ "description": "Production-grade modular rich text editor for the Matops ecosystem",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.esm.js",
10
+ "types": "dist/index.d.ts",
11
+ "style": "dist/style.css",
12
+ "sideEffects": [
13
+ "dist/style.css"
14
+ ],
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.esm.js",
22
+ "require": "./dist/index.js"
23
+ },
24
+ "./style.css": "./dist/style.css"
25
+ },
26
+ "scripts": {
27
+ "dev": "vite",
28
+ "build": "tsc -p tsconfig.build.json --noEmit && vite build",
29
+ "type-check": "tsc --noEmit",
30
+ "lint": "eslint shared/editor --ext .ts,.tsx --report-unused-disable-directives --max-warnings 0",
31
+ "preview": "vite preview"
32
+ },
33
+ "engines": {
34
+ "node": ">=18.0.0"
35
+ },
36
+ "peerDependencies": {
37
+ "react": ">=18.0.0",
38
+ "react-dom": ">=18.0.0"
39
+ },
40
+ "dependencies": {
41
+ "@tiptap/core": "^3.0.0",
42
+ "@tiptap/react": "^3.0.0",
43
+ "@tiptap/pm": "^3.0.0",
44
+ "@tiptap/starter-kit": "^3.0.0",
45
+ "@tiptap/extension-document": "^3.0.0",
46
+ "@tiptap/extension-paragraph": "^3.0.0",
47
+ "@tiptap/extension-text": "^3.0.0",
48
+ "@tiptap/extension-bold": "^3.0.0",
49
+ "@tiptap/extension-italic": "^3.0.0",
50
+ "@tiptap/extension-underline": "^3.0.0",
51
+ "@tiptap/extension-strike": "^3.0.0",
52
+ "@tiptap/extension-code": "^3.0.0",
53
+ "@tiptap/extension-code-block-lowlight": "^3.0.0",
54
+ "@tiptap/extension-blockquote": "^3.0.0",
55
+ "@tiptap/extension-heading": "^3.0.0",
56
+ "@tiptap/extension-horizontal-rule": "^3.0.0",
57
+ "@tiptap/extension-hard-break": "^3.0.0",
58
+ "@tiptap/extension-link": "^3.0.0",
59
+ "@tiptap/extension-image": "^3.0.0",
60
+ "@tiptap/extension-text-align": "^3.0.0",
61
+ "@tiptap/extension-color": "^3.0.0",
62
+ "@tiptap/extension-text-style": "^3.0.0",
63
+ "@tiptap/extension-highlight": "^3.0.0",
64
+ "@tiptap/extension-collaboration": "^3.0.0",
65
+ "@tiptap/extension-collaboration-caret": "^3.0.0",
66
+ "@tiptap/extension-table": "^3.0.0",
67
+ "@tiptap/extension-list": "^3.0.0",
68
+ "@tiptap/extensions": "^3.0.0",
69
+ "@floating-ui/dom": "^1.6.0",
70
+ "lowlight": "^3.3.0",
71
+ "yjs": "^13.6.27",
72
+ "y-websocket": "^3.0.0",
73
+ "clsx": "^2.1.1",
74
+ "tailwind-merge": "^3.3.0"
75
+ },
76
+ "devDependencies": {
77
+ "@types/react": "^18.3.23",
78
+ "@types/react-dom": "^18.3.7",
79
+ "@typescript-eslint/eslint-plugin": "^8.35.0",
80
+ "@typescript-eslint/parser": "^8.35.0",
81
+ "@vitejs/plugin-react": "^4.5.2",
82
+ "autoprefixer": "^10.4.21",
83
+ "eslint": "^9.29.0",
84
+ "postcss": "^8.5.5",
85
+ "tailwindcss": "^3.4.17",
86
+ "typescript": "^5.8.3",
87
+ "vite": "^6.3.5",
88
+ "vite-plugin-dts": "^4.5.4"
89
+ },
90
+ "keywords": [
91
+ "matops",
92
+ "editor",
93
+ "tiptap",
94
+ "rich-text",
95
+ "wysiwyg",
96
+ "react"
97
+ ],
98
+ "license": "MIT"
99
+ }