@editorcn/editor 0.3.9 → 0.4.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 CHANGED
@@ -1,67 +1,62 @@
1
- {
2
- "name": "@editorcn/editor",
3
- "version": "0.3.9",
4
- "files": [
5
- "dist"
6
- ],
7
- "type": "module",
8
- "main": "./dist/index.cjs",
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "types": "./dist/index.d.ts",
14
- "import": "./dist/index.js",
15
- "require": "./dist/index.cjs"
16
- },
17
- "./style.css": "./dist/style.css"
18
- },
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
- "scripts": {
23
- "build": "tsup && node -e \"require('fs').copyFileSync('src/style.css','dist/style.css')\"",
24
- "dev": "tsup --watch",
25
- "typecheck": "tsc --noEmit",
26
- "prepublishOnly": "pnpm build"
27
- },
28
- "dependencies": {
29
- "clsx": "^2.1.1",
30
- "lucide-react": ">=0.400.0 <1.0.0",
31
- "tailwind-merge": "^3.0.0"
32
- },
33
- "devDependencies": {
34
- "@hugeicons/core-free-icons": "^4.3.5",
35
- "@hugeicons/react": "^1.1.10",
36
- "@phosphor-icons/react": "^2.1.10",
37
- "@remixicon/react": "^4.9.0",
38
- "@tabler/icons-react": "^3.48.0",
39
- "@types/react": "^19",
40
- "tsup": "^8.4.0",
41
- "typescript": "^5"
42
- },
43
- "peerDependencies": {
44
- "@base-ui/react": "^1.0.0",
45
- "@floating-ui/dom": "^1.6.0",
46
- "@tiptap/core": ">=3.0.0 <4",
47
- "@tiptap/extension-code-block-lowlight": ">=3.0.0 <4",
48
- "@tiptap/extension-link": ">=3.0.0 <4",
49
- "@tiptap/extension-placeholder": ">=3.0.0 <4",
50
- "@tiptap/extension-underline": ">=3.0.0 <4",
51
- "@tiptap/pm": ">=3.0.0 <4",
52
- "@tiptap/react": ">=3.0.0 <4",
53
- "@tiptap/starter-kit": ">=3.0.0 <4",
54
- "class-variance-authority": "^0.7.1",
55
- "lowlight": ">=3.0.0 <4",
56
- "react": "^18 || ^19",
57
- "react-dom": "^18 || ^19"
58
- },
59
- "peerDependenciesMeta": {
60
- "lowlight": {
61
- "optional": true
62
- },
63
- "@tiptap/extension-placeholder": {
64
- "optional": true
65
- }
66
- }
67
- }
1
+ {
2
+ "name": "@editorcn/editor",
3
+ "version": "0.4.0",
4
+ "files": [
5
+ "dist"
6
+ ],
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./style.css": "./dist/style.css"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "scripts": {
23
+ "build": "tsup && node -e \"require('fs').copyFileSync('src/style.css','dist/style.css')\"",
24
+ "dev": "tsup --watch",
25
+ "typecheck": "tsc --noEmit",
26
+ "prepublishOnly": "pnpm build"
27
+ },
28
+ "dependencies": {
29
+ "clsx": "^2.1.1",
30
+ "lucide-react": ">=0.400.0 <1.0.0",
31
+ "tailwind-merge": "^3.0.0"
32
+ },
33
+ "devDependencies": {
34
+ "@hugeicons/core-free-icons": "^4.3.5",
35
+ "@hugeicons/react": "^1.1.10",
36
+ "@phosphor-icons/react": "^2.1.10",
37
+ "@remixicon/react": "^4.9.0",
38
+ "@tabler/icons-react": "^3.48.0",
39
+ "@types/react": "^19",
40
+ "tsup": "^8.4.0",
41
+ "typescript": "^5"
42
+ },
43
+ "peerDependencies": {
44
+ "@base-ui/react": "^1.0.0",
45
+ "@floating-ui/dom": "^1.6.0",
46
+ "@tiptap/core": ">=3.0.0 <4",
47
+ "@tiptap/extension-link": ">=3.0.0 <4",
48
+ "@tiptap/extension-placeholder": ">=3.0.0 <4",
49
+ "@tiptap/extension-underline": ">=3.0.0 <4",
50
+ "@tiptap/pm": ">=3.0.0 <4",
51
+ "@tiptap/react": ">=3.0.0 <4",
52
+ "@tiptap/starter-kit": ">=3.0.0 <4",
53
+ "class-variance-authority": "^0.7.1",
54
+ "react": "^18 || ^19",
55
+ "react-dom": "^18 || ^19"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "@tiptap/extension-placeholder": {
59
+ "optional": true
60
+ }
61
+ }
62
+ }