0d817537be
Introduce @workspace/lexical with composable actions, toolbars, embeds, rich-text nodes, media uploads, selection utilities, HTML serialization, and theme styling.\n\nLocalize built-in controls through MessageDescriptor catalogs for English and Simplified Chinese, while providing an English I18nProvider fallback for standalone editor use. Include focused unit coverage for actions, controls, serialization, plugins, public API, and catalogs.
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "@workspace/lexical",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@lexical/extension": "^0.48.0",
|
|
"@lexical/html": "^0.48.0",
|
|
"@lexical/link": "^0.48.0",
|
|
"@lexical/list": "^0.48.0",
|
|
"@lexical/react": "^0.48.0",
|
|
"@lexical/rich-text": "^0.48.0",
|
|
"@lexical/selection": "^0.48.0",
|
|
"@lexical/utils": "^0.48.0",
|
|
"@workspace/i18n": "workspace:*",
|
|
"@workspace/ui": "workspace:*",
|
|
"lexical": "^0.48.0",
|
|
"lucide-react": "^1.27.0",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"jsdom": "^30.0.1",
|
|
"typescript": "~6",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./actions": "./src/actions/index.ts",
|
|
"./globals.css": "./src/styles/globals.css",
|
|
"./locales": "./src/locales/catalogs.ts",
|
|
"./locales/*": "./src/locales/*.ts"
|
|
}
|
|
}
|