{
  "name": "@procore/text-editor",
  "version": "1.2.0",
  "description": "Rich text editor component based on CKEditor 5",
  "author": "Procore Technologies",
  "homepage": "https://github.com/procore/core/tree/main/packages/text-editor",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/procore/core.git",
    "directory": "packages/text-editor"
  },
  "bugs": "https://github.com/procore/core/issues",
  "license": "SEE LICENSE IN LICENSE",
  "keywords": [
    "ckeditor",
    "components",
    "javascript",
    "js",
    "jsx",
    "library",
    "procore",
    "react",
    "rich-text",
    "text-editor"
  ],
  "publishConfig": {
    "access": "public"
  },
  "exports": {
    ".": "./dist/index.js",
    "./jestConfig": {
      "types": "./jestConfig.d.ts",
      "import": "./jestConfig.js",
      "require": "./jestConfig.js"
    },
    "./dist/_typedoc/*.json": "./dist/_typedoc/*.json",
    "./dist/_typedoc/**/*.json": "./dist/_typedoc/**/*.json"
  },
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "text-editor-migrate": "./codemod/text-editor-migrate.js"
  },
  "files": [
    "dist",
    ".jest",
    "jestConfig.js",
    "jestConfig.d.ts",
    "codemod"
  ],
  "scripts": {
    "build": "yarn run clean && yarn run build:esm & yarn run build:types & yarn run build:typedoc",
    "build-storybook": "storybook build --webpack-stats-json",
    "build:esm": "BUNDLING=true babel src --out-dir dist --extensions '.ts,.tsx,.js,.snap' -s --copy-files --no-copy-ignored",
    "build:typedoc": "ts-node --project tsconfig.typedoc.json typedoc.ts",
    "build:types": "tsc --declaration --emitDeclarationOnly -p tsconfig.prod.json",
    "chromatic": "dotenvx run -- chromatic",
    "chromatic:ci": "chromatic --ci  --storybook-build-dir ./storybook-static --project-token=${CHROMATIC_TEXT_EDITOR_TOKEN} --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
    "clean": "rimraf dist",
    "dev": "NODE_ENV=development yarn run dev:ts",
    "dev:ts": "tsc -p tsconfig.prod.json --watch",
    "lint": "eslint --ext .js,.jsx,.ts,.tsx src",
    "lint:types": "tsc -p tsconfig.prod.json --noEmit && tsc -p tsconfig.typedoc.json --noEmit",
    "lint:types:watch": "tsc -p . --noEmit --watch",
    "storybook": "storybook dev -p 6008",
    "test": "TZ=America/Los_Angeles jest --runInBand --logHeapUsage",
    "test:update": "TZ=America/Los_Angeles jest --runInBand -u",
    "test:watch": "yarn run test --watch"
  },
  "peerDependencies": {
    "@procore/core-react": "^12.53.1",
    "@procore/globalization-toolkit": ">= 3 < 4",
    "ckeditor5": ">= 47 < 49",
    "ckeditor5-premium-features": ">= 47 < 49",
    "react": ">=16.8.0 < 19",
    "react-dom": ">=16.8.0 < 19",
    "styled-components": ">= 5.1.1 < 7"
  },
  "dependencies": {
    "@ckeditor/ckeditor5-react": "^11.1.2",
    "@procore/cdn-translations": "^1.0.1",
    "@procore/core-http": "^13.1.0",
    "@procore/core-i18n-js": "^10.30.0",
    "@procore/core-icons": "^12.19.0",
    "@procore/toast-alert": "^5.2.0",
    "@procore/web-sdk-env-utils": "^0.1.0",
    "@procore/web-sdk-feature-toggle": "^2.7.0",
    "@react-aria/focus": "^3.21.2",
    "@react-aria/utils": "^3.31.0",
    "sanitize-html": "^2.17.5"
  },
  "devDependencies": {
    "@babel/cli": "^7.22.10",
    "@babel/core": "^7.22.1",
    "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/preset-env": "^7.25.0",
    "@babel/preset-react": "^7.24.1",
    "@babel/preset-typescript": "^7.24.1",
    "@babel/register": "^7.18.9",
    "@procore/core-react": "^12.53.1",
    "@procore/globalization-toolkit": "3.0.0",
    "@storybook/addon-webpack5-compiler-swc": "^4.0.2",
    "@storybook/jest": "^0.2.3",
    "@storybook/react-webpack5": "^9.1.16",
    "@storybook/testing-library": "^0.2.2",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/fs-extra": "^11.0.1",
    "@types/glob": "^8.0.1",
    "@types/jest": "^29.4.0",
    "@types/markdown-it": "^14.1.2",
    "@types/react": "^18.3.1",
    "@types/react-dom": "^18.3.1",
    "@types/sanitize-html": "^2.16.0",
    "@typescript-eslint/eslint-plugin": "^8.26.0",
    "@typescript-eslint/parser": "^8.26.0",
    "babel-core": "^7.0.0-bridge.0",
    "babel-jest": "^29.1.2",
    "babel-loader": "^8.2.5",
    "babel-plugin-styled-components": "^2.1.4",
    "chromatic": "^13.1.3",
    "ckeditor5": "^48.1.1",
    "ckeditor5-premium-features": "^48.1.1",
    "css-loader": "^7.1.2",
    "eslint": "^8.57.1",
    "eslint-config-prettier": "^9.0.0",
    "eslint-config-react-app": "^7.0.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-storybook": "^9.1.16",
    "fs-extra": "^11.1.1",
    "glob": "^8.1.0",
    "jest": "^29.5.0",
    "jest-styled-components": "^7.2.0",
    "markdown-it": "^14.3.0",
    "postcss-loader": "^8.1.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "rimraf": "^6.0.1",
    "storybook": "^9.1.17",
    "style-loader": "^4.0.0",
    "styled-components": "^6.1.18",
    "ts-jest": "^29.0.5",
    "ts-node": "^10.9.1",
    "typedoc": "^0.28.20",
    "typescript": "~5.8.3",
    "webpack": "^5.96.1"
  }
}