@cyberskill/cyber-editor 3.5.1 → 3.6.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,10 +1,11 @@
1
1
  {
2
2
  "name": "@cyberskill/cyber-editor",
3
- "version": "3.5.1",
4
- "description": "Change build",
3
+ "version": "3.6.0",
4
+ "description": "Update version tailwind v4",
5
5
  "main": "dist/cyber-editor.cjs.js",
6
6
  "module": "dist/cyber-editor.es.js",
7
7
  "types": "dist/index.d.ts",
8
+ "type": "module",
8
9
  "exports": {
9
10
  ".": {
10
11
  "import": "./dist/cyber-editor.es.js",
@@ -17,51 +18,51 @@
17
18
  "dist"
18
19
  ],
19
20
  "scripts": {
20
- "build": "vite build --mode production && tsc --project tsconfig.app.json --emitDeclarationOnly",
21
+ "build": "set NODE_ENV=production&& vite build --mode production && tsc --project tsconfig.app.json --emitDeclarationOnly",
21
22
  "dev": "vite",
22
23
  "lint": "npx eslint . --ext .ts,.tsx --fix",
23
24
  "prepare": "husky install"
24
25
  },
25
26
  "peerDependencies": {
27
+ "antd": "^5.23.0",
26
28
  "react": "^18.0.0",
27
- "react-dom": "^18.0.0",
28
- "antd": "^5.23.0"
29
+ "react-dom": "^18.0.0"
29
30
  },
30
31
  "dependencies": {
31
- "clsx": "^2.1.1",
32
- "lucide-react": "^0.474.0",
33
- "react-icons": "^5.4.0",
34
- "react-resizable": "^3.0.5",
32
+ "@tailwindcss/vite": "4.0.14",
35
33
  "@tiptap/core": "^2.11.3",
36
- "@tiptap/react": "^2.11.5",
37
- "@tiptap/starter-kit": "^2.11.3",
38
34
  "@tiptap/extension-color": "^2.9.1",
39
- "@tiptap/extension-text-style": "^2.9.1",
40
- "@tiptap/extension-list-item": "^2.9.1",
41
35
  "@tiptap/extension-highlight": "^2.11.3",
42
- "@tiptap/extension-underline": "^2.11.5",
36
+ "@tiptap/extension-image": "^2.11.5",
37
+ "@tiptap/extension-list-item": "^2.9.1",
43
38
  "@tiptap/extension-subscript": "^2.11.5",
44
39
  "@tiptap/extension-superscript": "^2.11.5",
45
- "@tiptap/extension-text-align": "^2.11.5",
46
- "@tiptap/extension-task-list": "^2.11.5",
47
- "@tiptap/extension-task-item": "^2.11.5",
48
40
  "@tiptap/extension-table": "^2.11.5",
49
- "@tiptap/extension-table-row": "^2.11.5",
50
- "@tiptap/extension-table-header": "^2.11.5",
51
41
  "@tiptap/extension-table-cell": "^2.11.5",
52
- "@tiptap/extension-image": "^2.11.5"
42
+ "@tiptap/extension-table-header": "^2.11.5",
43
+ "@tiptap/extension-table-row": "^2.11.5",
44
+ "@tiptap/extension-task-item": "^2.11.5",
45
+ "@tiptap/extension-task-list": "^2.11.5",
46
+ "@tiptap/extension-text-align": "^2.11.5",
47
+ "@tiptap/extension-text-style": "^2.9.1",
48
+ "@tiptap/extension-underline": "^2.11.5",
49
+ "@tiptap/react": "^2.11.5",
50
+ "@tiptap/starter-kit": "^2.11.3",
51
+ "clsx": "^2.1.1",
52
+ "lucide-react": "^0.474.0",
53
+ "react-icons": "^5.4.0",
54
+ "react-resizable": "^3.0.5",
55
+ "tailwindcss": "4.0.14"
53
56
  },
54
57
  "devDependencies": {
58
+ "@types/node": "22.13.10",
55
59
  "@types/react": "^18.0.0",
56
60
  "@types/react-dom": "^18.0.0",
57
61
  "@types/react-resizable": "^3.0.8",
58
62
  "@vitejs/plugin-react-swc": "^3.7.1",
59
- "autoprefixer": "^10.4.20",
60
63
  "husky": "^9.1.7",
61
- "postcss": "^8.4.47",
62
- "tailwindcss": "^3.0.0",
63
64
  "typescript": "^5.0.0",
64
65
  "vite": "^5.0.0",
65
66
  "vite-plugin-dts": "^4.5.0"
66
67
  }
67
- }
68
+ }