smartrte-react 0.1.13 → 0.1.15

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,6 +1,6 @@
1
1
  {
2
2
  "name": "smartrte-react",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "A powerful, feature-rich Rich Text Editor for React with support for tables, mathematical formulas (LaTeX/KaTeX), and media management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,16 +38,7 @@
38
38
  },
39
39
  "author": "Smart RTE Contributors",
40
40
  "license": "MIT",
41
- "scripts": {
42
- "build": "tsc -p tsconfig.json",
43
- "prepublishOnly": "pnpm run build",
44
- "dev": "pnpm build",
45
- "lint": "eslint . || true",
46
- "test": "vitest run || true",
47
- "storybook": "storybook dev -p 6006",
48
- "build-storybook": "storybook build",
49
- "e2e": "playwright test || true"
50
- },
41
+ "runkitExampleFilename": "runkit-example.js",
51
42
  "publishConfig": {
52
43
  "access": "public"
53
44
  },
@@ -57,17 +48,31 @@
57
48
  "react-dom": ">=18"
58
49
  },
59
50
  "devDependencies": {
60
- "typescript": "^5.6.2",
61
- "@types/react": "^18.3.4",
62
- "@types/react-dom": "^18.3.0",
51
+ "@playwright/test": "^1.48.2",
52
+ "@storybook/addon-essentials": "^8.6.14",
63
53
  "@storybook/react": "^8.6.14",
64
54
  "@storybook/react-vite": "^8.6.14",
65
- "@storybook/addon-essentials": "^8.6.14",
55
+ "@types/pdfjs-dist": "^2.10.377",
56
+ "@types/react": "^18.3.4",
57
+ "@types/react-dom": "^18.3.0",
58
+ "react": "18.3.1",
59
+ "react-dom": "18.3.1",
66
60
  "storybook": "^8.6.14",
61
+ "typescript": "^5.6.2",
67
62
  "vite": "^5.4.8",
68
- "vitest": "^2.1.4",
69
- "@playwright/test": "^1.48.2",
70
- "react": "18.3.1",
71
- "react-dom": "18.3.1"
63
+ "vitest": "^2.1.4"
64
+ },
65
+ "dependencies": {
66
+ "mammoth": "^1.11.0",
67
+ "pdfjs-dist": "^5.4.530"
68
+ },
69
+ "scripts": {
70
+ "build": "tsc -p tsconfig.json",
71
+ "dev": "pnpm build",
72
+ "lint": "eslint . || true",
73
+ "test": "vitest run || true",
74
+ "storybook": "storybook dev -p 6006",
75
+ "build-storybook": "storybook build",
76
+ "e2e": "playwright test || true"
72
77
  }
73
- }
78
+ }