{
  "name": "stream-chat-react",
  "version": "15.0.2",
  "description": "React components to create chat conversations or livestream style chat",
  "license": "SEE LICENSE IN LICENSE",
  "repository": {
    "type": "git",
    "url": "https://github.com/GetStream/stream-chat-react.git"
  },
  "homepage": "https://getstream.io/chat/",
  "author": {
    "name": "GetStream.io, Inc.",
    "url": "https://getstream.io/team/"
  },
  "types": "./dist/types/index.d.ts",
  "main": "./dist/cjs/index.js",
  "module": "./dist/es/index.mjs",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/es/index.mjs",
      "require": "./dist/cjs/index.js",
      "default": "./dist/cjs/index.js"
    },
    "./channel-detail": {
      "types": "./dist/types/plugins/ChannelDetail/index.d.ts",
      "import": "./dist/es/channel-detail.mjs",
      "require": "./dist/cjs/channel-detail.js",
      "default": "./dist/cjs/channel-detail.js"
    },
    "./emojis": {
      "types": "./dist/types/plugins/Emojis/index.d.ts",
      "import": "./dist/es/emojis.mjs",
      "require": "./dist/cjs/emojis.js",
      "default": "./dist/cjs/emojis.js"
    },
    "./mp3-encoder": {
      "types": "./dist/types/plugins/encoders/mp3.d.ts",
      "import": "./dist/es/mp3-encoder.mjs",
      "require": "./dist/cjs/mp3-encoder.js",
      "default": "./dist/cjs/mp3-encoder.js"
    },
    "./slot-geometry": {
      "types": "./dist/types/plugins/SlotGeometry/index.d.ts",
      "import": "./dist/es/slot-geometry.mjs",
      "require": "./dist/cjs/slot-geometry.js",
      "default": "./dist/cjs/slot-geometry.js"
    },
    "./slot-layout": {
      "types": "./dist/types/plugins/SlotLayout/index.d.ts",
      "import": "./dist/es/slot-layout.mjs",
      "require": "./dist/cjs/slot-layout.js",
      "default": "./dist/cjs/slot-layout.js"
    },
    "./ai-components": {
      "types": "./dist/types/plugins/AIComponents/index.d.ts",
      "import": "./dist/es/ai-components.mjs",
      "require": "./dist/cjs/ai-components.js",
      "default": "./dist/cjs/ai-components.js"
    },
    "./a2ui": {
      "types": "./dist/types/plugins/A2UI/index.d.ts",
      "import": "./dist/es/a2ui.mjs",
      "require": "./dist/cjs/a2ui-require.js",
      "default": "./dist/es/a2ui.mjs"
    },
    "./openui": {
      "types": "./dist/types/plugins/OpenUI/index.d.ts",
      "import": "./dist/es/openui.mjs",
      "require": "./dist/cjs/openui.js",
      "default": "./dist/es/openui.mjs"
    },
    "./dist/css/*": {
      "default": "./dist/css/*"
    },
    "./css/*": {
      "default": "./dist/css/*"
    }
  },
  "typesVersions": {
    "*": {
      "channel-detail": [
        "./dist/types/plugins/ChannelDetail/index.d.ts"
      ],
      "emojis": [
        "./dist/types/plugins/Emojis/index.d.ts"
      ],
      "mp3-encoder": [
        "./dist/types/plugins/encoders/mp3.d.ts"
      ],
      "slot-geometry": [
        "./dist/types/plugins/SlotGeometry/index.d.ts"
      ],
      "slot-layout": [
        "./dist/types/plugins/SlotLayout/index.d.ts"
      ],
      "ai-components": [
        "./dist/types/plugins/AIComponents/index.d.ts"
      ],
      "a2ui": [
        "./dist/types/plugins/A2UI/index.d.ts"
      ],
      "openui": [
        "./dist/types/plugins/OpenUI/index.d.ts"
      ]
    }
  },
  "sideEffects": [
    "*.css",
    "./dist/es/plugins/AIComponents/AIMarkdown/tools/charts/Chart.mjs"
  ],
  "keywords": [
    "chat",
    "messaging",
    "conversation",
    "react",
    "stream",
    "getstream",
    "getstream.io"
  ],
  "dependencies": {
    "@braintree/sanitize-url": "^7.1.2",
    "@floating-ui/react": "^0.27.19",
    "@react-aria/focus": "^3.22.0",
    "@stream-io/i18n": "^1.1.0",
    "@stream-io/state-store": "^1.2.0",
    "chart.js": "^4.5.1",
    "clsx": "^2.1.1",
    "emoji-regex": "^9.2.2",
    "fix-webm-duration": "^1.0.6",
    "hast-util-find-and-replace": "^5.0.1",
    "linkifyjs": "^4.3.3",
    "lodash.debounce": "^4.0.8",
    "lodash.mergewith": "^4.6.2",
    "lodash.throttle": "^4.1.1",
    "lodash.uniqby": "^4.7.0",
    "mdast-util-to-string": "^4.0.0",
    "nanoid": "^3.3.12",
    "react-chartjs-2": "^5.3.1",
    "react-dropzone": "^14.4.1",
    "react-fast-compare": "^3.2.2",
    "react-markdown": "^9.1.0",
    "react-player": "2.10.1",
    "react-syntax-highlighter": "^16.1.0",
    "react-textarea-autosize": "^8.5.9",
    "react-virtuoso": "^2.19.1",
    "remark-gfm": "^4.0.1",
    "remark-parse": "^11.0.0",
    "unified": "^11.0.5",
    "unist-builder": "^4.0.0",
    "unist-util-visit": "^5.1.0",
    "use-sync-external-store": "^1.7.0",
    "zod": "^4.2.0"
  },
  "peerDependencies": {
    "@a2ui/react": "~0.15.0",
    "@a2ui/web_core": "~0.15.0",
    "@breezystack/lamejs": "^1.2.7",
    "@emoji-mart/data": "^1.1.0",
    "@openuidev/react-lang": "~1.0.2",
    "@openuidev/react-ui": "~0.18.1",
    "emoji-mart": "^5.4.0",
    "modern-normalize": "^3.0.1",
    "react": "^19.0.0 || ^18.0.0 || ^17.0.0",
    "react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0",
    "stream-chat": "^10.0.0"
  },
  "peerDependenciesMeta": {
    "@a2ui/react": {
      "optional": true
    },
    "@a2ui/web_core": {
      "optional": true
    },
    "@breezystack/lamejs": {
      "optional": true
    },
    "@emoji-mart/data": {
      "optional": true
    },
    "@openuidev/react-lang": {
      "optional": true
    },
    "@openuidev/react-ui": {
      "optional": true
    },
    "emoji-mart": {
      "optional": true
    },
    "modern-normalize": {
      "optional": true
    }
  },
  "files": [
    "dist",
    "package.json",
    "README.md"
  ],
  "devDependencies": {
    "@a2ui/react": "0.15.0",
    "@a2ui/web_core": "0.15.0",
    "@breezystack/lamejs": "^1.2.7",
    "@commitlint/cli": "^21.0.1",
    "@commitlint/config-conventional": "^21.0.1",
    "@emoji-mart/data": "^1.2.1",
    "@eslint/js": "^9.39.4",
    "@openuidev/react-headless": "0.18.1",
    "@openuidev/react-lang": "1.0.2",
    "@openuidev/react-ui": "0.18.1",
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^12.0.8",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@total-typescript/shoehorn": "^0.1.2",
    "@types/hast": "^3.0.4",
    "@types/jsdom": "^28.0.3",
    "@types/linkifyjs": "^2.1.7",
    "@types/lodash.debounce": "^4.0.9",
    "@types/lodash.mergewith": "^4.6.9",
    "@types/lodash.throttle": "^4.1.9",
    "@types/lodash.uniqby": "^4.7.9",
    "@types/node": "^24.13.3",
    "@types/react": "^19.2.15",
    "@types/react-dom": "^19.2.3",
    "@types/react-syntax-highlighter": "^15.5.13",
    "@types/use-sync-external-store": "^1.5.0",
    "@vitest/coverage-v8": "^4.1.9",
    "@vitest/eslint-plugin": "^1.6.20",
    "concurrently": "^9.2.1",
    "conventional-changelog-conventionalcommits": "^9.3.1",
    "dayjs": "^1.11.23",
    "emoji-mart": "^5.6.0",
    "eslint": "^9.39.4",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^7.1.1",
    "eslint-plugin-sort-destructure-keys": "^3.0.0",
    "globals": "^17.6.0",
    "husky": "^9.1.7",
    "jsdom": "^29.1.1",
    "lint-staged": "^17.0.5",
    "prettier": "^3.8.3",
    "react": "^19.2.6",
    "react-dom": "^19.2.6",
    "sass": "^1.100.0",
    "semantic-release": "^25.0.3",
    "stream-chat": "^10.0.0",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.59.4",
    "vite": "^8.1.3",
    "vitest": "^4.1.9",
    "vitest-axe": "^0.1.0",
    "zustand": "4.5.7"
  },
  "scripts": {
    "clean": "rm -rf dist",
    "build": "yarn clean && concurrently 'yarn build-translations' 'vite build' 'tsc --project tsconfig.lib.json' 'yarn build-styling'",
    "build-styling": "sass --no-charset src/styling/index.scss:dist/css/index.css src/styling/_emoji-replacement.scss:dist/css/emoji-replacement.css src/plugins/Emojis/styling/index.scss:dist/css/emoji-picker.css src/plugins/ChannelDetail/styling/index.scss:dist/css/channel-detail.css src/plugins/AIComponents/styling/index.scss:dist/css/ai-components.css; cp -r src/styling/assets dist/css/assets",
    "build-translations": "node scripts/generate-i18n-keys.mts && prettier --write --log-level warn src/i18n/keys.ts",
    "coverage": "vitest run --coverage",
    "i18n:export": "node scripts/generate-i18n-keys.mts --json en.json",
    "lint": "yarn prettier --list-different && yarn eslint",
    "lint-fix": "yarn prettier-fix && yarn eslint-fix",
    "eslint": "eslint --max-warnings 0",
    "eslint-fix": "eslint --fix",
    "prettier": "prettier '**/*.{js,mjs,ts,mts,jsx,tsx,md,json,yml,scss}'",
    "prettier-fix": "yarn prettier --write",
    "fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1",
    "start": "tsc -p tsconfig.lib.json -w",
    "start:css": "node scripts/watch-styling.mjs",
    "start:ai-chatbot": "yarn workspace @stream-io/stream-chat-react-ai-chatbot dev",
    "start:ai-ui-gallery": "yarn workspace @stream-io/stream-chat-react-ai-ui-gallery dev",
    "start:tutorial": "yarn workspace @stream-io/stream-chat-react-tutorial dev",
    "start:cookbook": "yarn workspace @stream-io/stream-chat-react-cookbook dev",
    "start:vite": "yarn workspace @stream-io/stream-chat-react-vite dev",
    "postinstall": "node -e \"require('fs').existsSync('scripts/install-husky.mjs') && import('./scripts/install-husky.mjs')\"",
    "test": "vitest run",
    "test:watch": "vitest",
    "types": "tsc -p tsconfig.lib.json --noEmit",
    "types:tests": "tsc --project tsconfig.test.json --noEmit",
    "validate-translations": "yarn build-translations && git diff --exit-code -- src/i18n/keys.ts",
    "validate-cjs": "concurrently 'node scripts/validate-cjs-node-bundle.cjs' 'node scripts/validate-cjs-browser-bundle.cjs'",
    "validate-esm": "node scripts/validate-esm-node-bundle.mjs",
    "validate-entry-isolation": "node scripts/validate-entry-isolation.mts",
    "validate-ai-ui-tokens": "node scripts/validate-ai-ui-tokens.mts",
    "api-surface": "node scripts/api-surface.mts",
    "semantic-release": "semantic-release",
    "prepack": "yarn build",
    "examples:build": "yarn workspaces foreach -A --include '@stream-io/stream-chat-react-*' run build",
    "build:all": "yarn workspaces foreach -A -tpv run build",
    "types:scripts": "tsc -p tsconfig.scripts.json"
  },
  "resolutions": {
    "ast-types": "^0.14.0",
    "@types/unist": "^2.0.6"
  },
  "dependenciesMeta": {
    "@parcel/watcher": {
      "built": true
    },
    "@swc/core": {
      "built": true
    },
    "esbuild": {
      "built": true
    },
    "husky": {
      "built": true
    }
  },
  "packageManager": "yarn@4.15.0",
  "workspaces": [
    "examples/*"
  ]
}
