rj-editor 1.3.0 → 1.3.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "rj-editor",
3
- "version": "1.3.0",
4
- "description": "React rich text editor: toolbar tabs, table, image, link, YouTube, i18n, theme va Ant Design Form integratsiyasi.",
3
+ "version": "1.3.2",
4
+ "description": "React text editor: toolbar tabs, table, image, link, YouTube, i18n, theme va Ant Design Form integratsiyasi.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Ravshan Jumaqulov",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "keywords": [
20
20
  "react",
21
- "rich-text-editor",
21
+ "text-editor",
22
22
  "editor",
23
23
  "wysiwyg",
24
24
  "antd",
@@ -32,6 +32,10 @@
32
32
  "import": "./dist/rj-editor.js",
33
33
  "require": "./dist/rj-editor.umd.cjs"
34
34
  },
35
+ "./rendered-html": {
36
+ "types": "./dist/rendered-html.d.ts",
37
+ "import": "./dist/rendered-html.js"
38
+ },
35
39
  "./style.css": "./dist/rj-editor.css"
36
40
  },
37
41
  "files": [
@@ -42,11 +46,12 @@
42
46
  },
43
47
  "sideEffects": [
44
48
  "*.css",
45
- "**/*.css"
49
+ "**/*.css",
50
+ "dist/rendered-html.js"
46
51
  ],
47
52
  "scripts": {
48
53
  "dev": "vite",
49
- "build": "vite build && tsc -p tsconfig.lib.json && node scripts/fix-dts-aliases.mjs",
54
+ "build": "vite build && vite build --config vite.rendered-html.config.ts && tsc -p tsconfig.lib.json && node scripts/fix-dts-aliases.mjs",
50
55
  "build:demo": "vite build --config vite.demo.config.ts",
51
56
  "lint": "eslint .",
52
57
  "pack:check": "npm run build && npm_config_cache=/private/tmp/rj-editor-npm-cache npm pack --dry-run",