@editorcn/editor 0.1.1 → 0.2.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,58 +1,63 @@
1
- {
2
- "name": "@editorcn/editor",
3
- "version": "0.1.1",
4
- "type": "module",
5
- "main": "./dist/index.cjs",
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.css": "./dist/style.css"
15
- },
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "files": ["dist"],
20
- "scripts": {
21
- "build": "tsup && node -e \"require('fs').copyFileSync('src/style.css','dist/style.css')\"",
22
- "dev": "tsup --watch",
23
- "check-types": "tsc --noEmit",
24
- "prepublishOnly": "pnpm build"
25
- },
26
- "peerDependencies": {
27
- "@base-ui/react": "^1.0.0",
28
- "@tiptap/core": ">=2.11.5 <4",
29
- "@tiptap/extension-code-block-lowlight": ">=2.11.5 <4",
30
- "@tiptap/extension-link": ">=2.11.5 <4",
31
- "@tiptap/extension-placeholder": ">=2.11.5 <4",
32
- "@tiptap/extension-underline": ">=2.11.5 <4",
33
- "@tiptap/pm": ">=2.11.5 <4",
34
- "@tiptap/react": ">=2.11.5 <4",
35
- "@tiptap/starter-kit": ">=2.11.5 <4",
36
- "class-variance-authority": "^0.7.1",
37
- "lowlight": "^3.3.0",
38
- "react": "^18 || ^19",
39
- "react-dom": "^18 || ^19"
40
- },
41
- "peerDependenciesMeta": {
42
- "@tiptap/extension-code-block-lowlight": {
43
- "optional": true
44
- },
45
- "@tiptap/extension-placeholder": {
46
- "optional": true
47
- }
48
- },
49
- "dependencies": {
50
- "clsx": "^2.1.1",
51
- "tailwind-merge": "^3.0.0"
52
- },
53
- "devDependencies": {
54
- "@types/react": "^19",
55
- "tsup": "^8.4.0",
56
- "typescript": "^5"
57
- }
58
- }
1
+ {
2
+ "name": "@editorcn/editor",
3
+ "version": "0.2.0",
4
+ "type": "module",
5
+ "main": "./dist/index.cjs",
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.css": "./dist/style.css"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsup && node -e \"require('fs').copyFileSync('src/style.css','dist/style.css')\"",
24
+ "dev": "tsup --watch",
25
+ "check-types": "tsc --noEmit",
26
+ "prepublishOnly": "pnpm build"
27
+ },
28
+ "peerDependencies": {
29
+ "@base-ui/react": "^1.0.0",
30
+ "@tiptap/core": ">=2.11.5 <4",
31
+ "@tiptap/extension-link": ">=2.11.5 <4",
32
+ "@tiptap/extension-placeholder": ">=2.11.5 <4",
33
+ "@tiptap/extension-underline": ">=2.11.5 <4",
34
+ "@tiptap/pm": ">=2.11.5 <4",
35
+ "@tiptap/react": ">=2.11.5 <4",
36
+ "@tiptap/starter-kit": ">=2.11.5 <4",
37
+ "class-variance-authority": "^0.7.1",
38
+ "react": "^18 || ^19",
39
+ "react-dom": "^18 || ^19",
40
+ "@tiptap/extension-code-block-lowlight": ">=2.11.5 <4",
41
+ "lowlight": ">=3.0.0 <4"
42
+ },
43
+ "peerDependenciesMeta": {
44
+ "@tiptap/extension-code-block-lowlight": {
45
+ "optional": true
46
+ },
47
+ "lowlight": {
48
+ "optional": true
49
+ },
50
+ "@tiptap/extension-placeholder": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "dependencies": {
55
+ "clsx": "^2.1.1",
56
+ "tailwind-merge": "^3.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@types/react": "^19",
60
+ "tsup": "^8.4.0",
61
+ "typescript": "^5"
62
+ }
63
+ }