{
  "name": "@payloadcms/richtext-lexical",
  "version": "3.0.0-beta.113",
  "description": "The officially supported Lexical richtext adapter for Payload",
  "homepage": "https://payloadcms.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/payloadcms/payload.git",
    "directory": "packages/richtext-lexical"
  },
  "license": "MIT",
  "author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "import": "./src/index.ts",
      "types": "./src/index.ts",
      "default": "./src/index.ts"
    },
    "./client": {
      "import": "./src/exports/client/index.ts",
      "types": "./src/exports/client/index.ts",
      "default": "./src/exports/client/index.ts"
    },
    "./migrate": {
      "import": "./src/exports/server/migrate.ts",
      "types": "./src/exports/server/migrate.ts",
      "default": "./src/exports/server/migrate.ts"
    },
    "./generateComponentMap": "./src/utilities/generateComponentMap.tsx"
  },
  "main": "./src/index.ts",
  "types": "./src/index.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "pnpm build:reactcompiler",
    "build:babel": "rm -rf dist_optimized && babel dist --out-dir dist_optimized --source-maps --extensions .ts,.js,.tsx,.jsx,.cjs,.mjs && rm -rf dist && mv dist_optimized dist",
    "build:clean": "find . \\( -type d \\( -name build -o -name dist -o -name .cache \\) -o -type f -name tsconfig.tsbuildinfo \\) -exec rm -rf {} + && pnpm build",
    "build:esbuild": "node bundle.js && rm -rf dist/exports/client && mv dist/exports/client_optimized dist/exports/client",
    "build:reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm build:swc && pnpm build:babel && pnpm copyfiles && pnpm build:esbuild && pnpm build:types",
    "build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
    "build:types": "tsc --emitDeclarationOnly --outDir dist",
    "build:without_reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm copyfiles && pnpm build:types && pnpm build:swc && pnpm build:esbuild && rm -rf dist/exports/client && mv dist/exports/client_unoptimized dist/exports/client",
    "clean": "rimraf {dist,*.tsbuildinfo}",
    "copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "prepublishOnly": "pnpm clean && pnpm turbo build",
    "translateNewKeys": "node --no-deprecation --import @swc-node/register/esm-register scripts/translateNewKeys.ts"
  },
  "dependencies": {
    "@lexical/headless": "0.18.0",
    "@lexical/link": "0.18.0",
    "@lexical/list": "0.18.0",
    "@lexical/mark": "0.18.0",
    "@lexical/markdown": "0.18.0",
    "@lexical/react": "0.18.0",
    "@lexical/rich-text": "0.18.0",
    "@lexical/selection": "0.18.0",
    "@lexical/utils": "0.18.0",
    "@payloadcms/translations": "workspace:*",
    "@payloadcms/ui": "workspace:*",
    "@types/uuid": "10.0.0",
    "bson-objectid": "2.0.4",
    "dequal": "2.0.3",
    "escape-html": "1.0.3",
    "lexical": "0.18.0",
    "react-error-boundary": "4.0.13",
    "uuid": "10.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.24.5",
    "@babel/core": "^7.24.5",
    "@babel/preset-env": "^7.24.5",
    "@babel/preset-react": "^7.24.1",
    "@babel/preset-typescript": "^7.24.1",
    "@lexical/eslint-plugin": "0.18.0",
    "@payloadcms/eslint-config": "workspace:*",
    "@types/escape-html": "1.0.4",
    "@types/json-schema": "7.0.15",
    "@types/node": "22.5.4",
    "@types/react": "npm:types-react@19.0.0-rc.1",
    "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
    "babel-plugin-react-compiler": "0.0.0-experimental-48eb8f4-20240822",
    "babel-plugin-transform-remove-imports": "^1.8.0",
    "esbuild": "0.23.1",
    "esbuild-sass-plugin": "3.3.1",
    "eslint-plugin-react-compiler": "0.0.0-experimental-7670337-20240918",
    "payload": "workspace:*",
    "swc-plugin-transform-remove-imports": "1.15.0"
  },
  "peerDependencies": {
    "@faceless-ui/modal": "3.0.0-beta.2",
    "@faceless-ui/scroll-info": "2.0.0-beta.0",
    "@lexical/headless": "0.18.0",
    "@lexical/link": "0.18.0",
    "@lexical/list": "0.18.0",
    "@lexical/mark": "0.18.0",
    "@lexical/markdown": "0.18.0",
    "@lexical/react": "0.18.0",
    "@lexical/rich-text": "0.18.0",
    "@lexical/selection": "0.18.0",
    "@lexical/table": "0.18.0",
    "@lexical/utils": "0.18.0",
    "@payloadcms/next": "workspace:*",
    "lexical": "0.18.0",
    "payload": "workspace:*",
    "react": "^19.0.0 || ^19.0.0-rc-3edc000d-20240926",
    "react-dom": "^19.0.0 || ^19.0.0-rc-3edc000d-20240926"
  },
  "engines": {
    "node": "^18.20.2 || >=20.9.0"
  },
  "publishConfig": {
    "exports": {
      ".": {
        "import": "./dist/index.js",
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "./client": {
        "import": "./dist/exports/client/index.js",
        "types": "./dist/exports/client/index.d.ts",
        "default": "./dist/exports/client/index.js"
      },
      "./migrate": {
        "import": "./dist/exports/server/migrate.js",
        "types": "./dist/exports/server/migrate.d.ts",
        "default": "./dist/exports/server/migrate.js"
      },
      "./generateComponentMap": {
        "import": "./dist/utilities/generateComponentMap.js",
        "types": "./dist/utilities/generateComponentMap.d.ts",
        "default": "./dist/utilities/generateComponentMap.js"
      }
    },
    "main": "./dist/index.js",
    "registry": "https://registry.npmjs.org/",
    "types": "./dist/index.d.ts"
  },
  "overrides": {
    "@types/react": "npm:types-react@19.0.0-rc.1",
    "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
  }
}
