mirror of
https://github.com/resend/react-email.git
synced 2026-09-14 14:18:02 +08:00
6c4af8c25e
Co-authored-by: resend-version-bump[bot] <277115511+resend-version-bump[bot]@users.noreply.github.com>
160 lines
4.7 KiB
JSON
160 lines
4.7 KiB
JSON
{
|
|
"name": "@react-email/editor",
|
|
"version": "1.4.4",
|
|
"description": "A rich text editor for editing and building email templates",
|
|
"sideEffects": [
|
|
"**/*.css"
|
|
],
|
|
"files": [
|
|
"dist/**"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"./core": {
|
|
"import": {
|
|
"types": "./dist/core/index.d.mts",
|
|
"default": "./dist/core/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/core/index.d.cts",
|
|
"default": "./dist/core/index.cjs"
|
|
}
|
|
},
|
|
"./extensions": {
|
|
"import": {
|
|
"types": "./dist/extensions/index.d.mts",
|
|
"default": "./dist/extensions/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/extensions/index.d.cts",
|
|
"default": "./dist/extensions/index.cjs"
|
|
}
|
|
},
|
|
"./ui": {
|
|
"import": {
|
|
"types": "./dist/ui/index.d.mts",
|
|
"default": "./dist/ui/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/ui/index.d.cts",
|
|
"default": "./dist/ui/index.cjs"
|
|
}
|
|
},
|
|
"./plugins": {
|
|
"import": {
|
|
"types": "./dist/plugins/index.d.mts",
|
|
"default": "./dist/plugins/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/plugins/index.d.cts",
|
|
"default": "./dist/plugins/index.cjs"
|
|
}
|
|
},
|
|
"./utils": {
|
|
"import": {
|
|
"types": "./dist/utils/index.d.mts",
|
|
"default": "./dist/utils/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/utils/index.d.cts",
|
|
"default": "./dist/utils/index.cjs"
|
|
}
|
|
},
|
|
"./styles/bubble-menu.css": "./dist/ui/bubble-menu/bubble-menu.css",
|
|
"./styles/link-bubble-menu.css": "./dist/ui/link-bubble-menu/link-bubble-menu.css",
|
|
"./styles/button-bubble-menu.css": "./dist/ui/button-bubble-menu/button-bubble-menu.css",
|
|
"./styles/image-bubble-menu.css": "./dist/ui/image-bubble-menu/image-bubble-menu.css",
|
|
"./styles/slash-command.css": "./dist/ui/slash-command/slash-command.css",
|
|
"./styles/inspector.css": "./dist/ui/inspector/inspector.css",
|
|
"./themes/default.css": "./dist/ui/themes/default.css"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"build:css": "tsx scripts/copy-css.ts",
|
|
"build:watch": "tsdown --watch",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run --project unit",
|
|
"test:browser": "vitest run --project browser",
|
|
"test:watch": "vitest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/resend/react-email.git",
|
|
"directory": "packages/editor"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"email"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0 || ^19.0 || ^19.0.0-rc",
|
|
"react-dom": "^18.0 || ^19.0 || ^19.0.0-rc"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/react-dom": "^2.1.8",
|
|
"react-email": "workspace:*",
|
|
"@radix-ui/react-popover": "^1.0.0",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@tiptap/core": "^3.17.1",
|
|
"@tiptap/extension-blockquote": "^3.17.1",
|
|
"@tiptap/extension-bold": "^3.17.1",
|
|
"@tiptap/extension-bullet-list": "^3.17.1",
|
|
"@tiptap/extension-code": "^3.17.1",
|
|
"@tiptap/extension-code-block": "^3.17.1",
|
|
"@tiptap/extension-hard-break": "^3.17.1",
|
|
"@tiptap/extension-heading": "^3.17.1",
|
|
"@tiptap/extension-horizontal-rule": "^3.17.1",
|
|
"@tiptap/extension-italic": "^3.17.1",
|
|
"@tiptap/extension-link": "^3.17.1",
|
|
"@tiptap/extension-list-item": "^3.17.1",
|
|
"@tiptap/extension-mention": "^3.17.1",
|
|
"@tiptap/extension-ordered-list": "^3.17.1",
|
|
"@tiptap/extension-paragraph": "^3.17.1",
|
|
"@tiptap/extension-placeholder": "^3.17.1",
|
|
"@tiptap/extension-strike": "^3.17.1",
|
|
"@tiptap/extension-superscript": "^3.17.1",
|
|
"@tiptap/extension-text": "^3.17.1",
|
|
"@tiptap/extension-underline": "^3.17.1",
|
|
"@tiptap/extensions": "^3.17.1",
|
|
"@tiptap/html": "^3.17.1",
|
|
"@tiptap/pm": "^3.17.1",
|
|
"@tiptap/react": "^3.17.1",
|
|
"@tiptap/starter-kit": "^3.17.1",
|
|
"@tiptap/suggestion": "^3.17.1",
|
|
"hast-util-from-html": "^2.0.3",
|
|
"prismjs": "^1.30.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "16.3.2",
|
|
"@types/node": "catalog:",
|
|
"@types/prismjs": "1.26.6",
|
|
"@vitejs/plugin-react": "catalog:",
|
|
"@vitest/browser-playwright": "4.1.4",
|
|
"playwright": "1.59.1",
|
|
"postcss": "8.5.10",
|
|
"postcss-import": "16.1.1",
|
|
"tsconfig": "workspace:*",
|
|
"tsx": "catalog:",
|
|
"typescript": "5.9.3",
|
|
"vitest-browser-react": "2.2.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|