@wair/editor 0.0.1-beta.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/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +449 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +47 -0
- package/dist/index.d.mts +48 -0
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +81 -0
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wair/editor",
|
|
3
|
+
"version": "0.0.1-beta.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./style": "./dist/index.css"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsdown",
|
|
21
|
+
"release": "npm run build && npm publish",
|
|
22
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,md,json,css}\"",
|
|
23
|
+
"check-format": "prettier --check \"src/**/*.{ts,tsx,md,json,css}\""
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public",
|
|
27
|
+
"registry": "https://registry.npmjs.org"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@floating-ui/react": "^0.27.16",
|
|
31
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
32
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
33
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
34
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
35
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
36
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
37
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
38
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
39
|
+
"@tiptap/core": "^3.14.0",
|
|
40
|
+
"@tiptap/extension-code-block-lowlight": "^3.14.0",
|
|
41
|
+
"@tiptap/extension-drag-handle-react": "^3.14.0",
|
|
42
|
+
"@tiptap/extension-file-handler": "^3.14.0",
|
|
43
|
+
"@tiptap/extension-heading": "^3.14.0",
|
|
44
|
+
"@tiptap/extension-image": "^3.14.0",
|
|
45
|
+
"@tiptap/extension-link": "^3.14.0",
|
|
46
|
+
"@tiptap/extension-list": "^3.14.0",
|
|
47
|
+
"@tiptap/extension-mathematics": "^3.14.0",
|
|
48
|
+
"@tiptap/extension-placeholder": "^3.14.0",
|
|
49
|
+
"@tiptap/extension-table": "^3.14.0",
|
|
50
|
+
"@tiptap/extension-text-align": "^3.14.0",
|
|
51
|
+
"@tiptap/extension-text-style": "^3.14.0",
|
|
52
|
+
"@tiptap/extensions": "^3.14.0",
|
|
53
|
+
"@tiptap/pm": "^3.14.0",
|
|
54
|
+
"@tiptap/react": "^3.14.0",
|
|
55
|
+
"@tiptap/starter-kit": "^3.14.0",
|
|
56
|
+
"class-variance-authority": "^0.7.1",
|
|
57
|
+
"clsx": "^2.1.1",
|
|
58
|
+
"copy-to-clipboard": "^3.3.3",
|
|
59
|
+
"highlight.js": "^11.11.1",
|
|
60
|
+
"katex": "^0.16.27",
|
|
61
|
+
"lowlight": "^3.3.0",
|
|
62
|
+
"lucide-react": "^0.562.0",
|
|
63
|
+
"react-cropper": "^2.3.3",
|
|
64
|
+
"react-medium-image-zoom": "^5.4.0",
|
|
65
|
+
"tailwind-merge": "^3.4.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"autoprefixer": "^10.4.23",
|
|
69
|
+
"postcss": "^8.5.6",
|
|
70
|
+
"postcss-import": "^16.1.1",
|
|
71
|
+
"prettier": "^3.7.4",
|
|
72
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
73
|
+
"rollup-plugin-preserve-use-client": "^3.0.1",
|
|
74
|
+
"tsdown": "^0.18.0",
|
|
75
|
+
"typescript": "^5.9.3"
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"react": ">=18",
|
|
79
|
+
"react-dom": ">=18"
|
|
80
|
+
}
|
|
81
|
+
}
|