@standhigher/react-email-editor 0.4.3 → 0.5.1
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/README.md +7 -6
- package/README.zh-CN.md +7 -6
- package/dist/index.d.ts +44 -17
- package/dist/index.js +246 -102
- package/docs/advanced-examples.md +5 -1
- package/docs/advanced-examples.zh-CN.md +5 -1
- package/docs/api.md +23 -11
- package/docs/api.zh-CN.md +23 -11
- package/docs/changelog.md +44 -0
- package/docs/changelog.zh-CN.md +44 -0
- package/docs/custom-blocks.md +3 -3
- package/docs/custom-blocks.zh-CN.md +3 -3
- package/docs/release.md +4 -4
- package/docs/release.zh-CN.md +4 -4
- package/docs/template-engines.md +73 -0
- package/docs/template-engines.zh-CN.md +73 -0
- package/package.json +6 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@standhigher/react-email-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React email template editor with drag-and-drop blocks, rich text, JSON storage, and HTML export.",
|
|
6
6
|
"keywords": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"bugs": {
|
|
27
27
|
"url": "https://github.com/standhigher/react-email-editor/issues"
|
|
28
28
|
},
|
|
29
|
-
"packageManager": "
|
|
29
|
+
"packageManager": "npm@11.13.0",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"build": "tsup",
|
|
55
55
|
"build:watch": "tsup --watch src",
|
|
56
56
|
"test": "node --test tests/*.test.mjs tests/*.test.ts",
|
|
57
|
-
"check": "
|
|
58
|
-
"prepack": "
|
|
59
|
-
"prepublishOnly": "
|
|
57
|
+
"check": "npm run typecheck && npm run lint && npm run build && npm test",
|
|
58
|
+
"prepack": "npm run build",
|
|
59
|
+
"prepublishOnly": "npm run check",
|
|
60
60
|
"typecheck": "tsc --noEmit && tsc --noEmit -p playground",
|
|
61
61
|
"lint": "oxlint . --deny-warnings --report-unused-disable-directives",
|
|
62
|
-
"lint:fix": "
|
|
62
|
+
"lint:fix": "npm run lint -- --fix"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"react": "^18",
|
|
@@ -78,11 +78,6 @@
|
|
|
78
78
|
"typescript": "^5",
|
|
79
79
|
"vite": "^8.3.5"
|
|
80
80
|
},
|
|
81
|
-
"pnpm": {
|
|
82
|
-
"onlyBuiltDependencies": [
|
|
83
|
-
"esbuild"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
81
|
"dependencies": {
|
|
87
82
|
"@codemirror/commands": "^6.11.1",
|
|
88
83
|
"@codemirror/language": "^6.13.1",
|