UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

281 lines (280 loc) 8.68 kB
{ "name": "stream-chat-react", "version": "13.6.2", "description": "React components to create chat conversations or livestream style chat", "author": "GetStream", "homepage": "https://getstream.io/chat/", "license": "SEE LICENSE IN LICENSE", "repository": { "type": "git", "url": "https://github.com/GetStream/stream-chat-react.git" }, "types": "dist/index.d.ts", "main": "dist/index.node.cjs", "module": "dist/index.js", "jsdelivr": "./dist/browser.full-bundle.min.js", "exports": { ".": { "types": "./dist/index.d.ts", "node": { "require": "./dist/index.node.cjs", "import": "./dist/index.js" }, "browser": { "require": "./dist/index.browser.cjs", "import": "./dist/index.js" }, "default": "./dist/index.js" }, "./emojis": { "types": "./dist/plugins/Emojis/index.d.ts", "node": { "require": "./dist/plugins/Emojis/index.node.cjs", "import": "./dist/plugins/Emojis/index.js" }, "browser": { "require": "./dist/plugins/Emojis/index.browser.cjs", "import": "./dist/plugins/Emojis/index.js" }, "default": "./dist/plugins/Emojis/index.js" }, "./mp3-encoder": { "types": "./dist/plugins/encoders/mp3.d.ts", "node": { "require": "./dist/plugins/encoders/mp3.node.cjs", "import": "./dist/plugins/encoders/mp3.js" }, "browser": { "require": "./dist/plugins/encoders/mp3.browser.cjs", "import": "./dist/plugins/encoders/mp3.js" }, "default": "./dist/plugins/encoders/mp3.js" }, "./experimental": { "types": "./dist/experimental/index.d.ts", "node": { "require": "./dist/experimental/index.node.cjs", "import": "./dist/experimental/index.js" }, "browser": { "require": "./dist/experimental/index.browser.cjs", "import": "./dist/experimental/index.js" }, "default": "./dist/experimental/index.js" }, "./dist/css/*": { "default": "./dist/css/*" }, "./dist/scss/*": { "default": "./dist/scss/*" }, "./css/*": { "default": "./dist/css/*" }, "./scss/*": { "default": "./dist/scss/*" } }, "typesVersions": { "*": { "emojis": [ "./dist/plugins/Emojis/index.d.ts" ], "mp3-encoder": [ "./dist/plugins/encoders/mp3.d.ts" ], "experimental": [ "./dist/experimental/index.d.ts" ] } }, "sideEffects": [ "*.css", "./dist/i18n/Streami18n.js" ], "keywords": [ "chat", "messaging", "conversation", "react", "stream", "getstream", "getstream.io" ], "dependencies": { "@braintree/sanitize-url": "^6.0.4", "@popperjs/core": "^2.11.5", "@react-aria/focus": "^3", "clsx": "^2.0.0", "dayjs": "^1.10.4", "emoji-regex": "^9.2.0", "fix-webm-duration": "^1.0.5", "hast-util-find-and-replace": "^5.0.1", "i18next": "^25.2.1", "linkifyjs": "^4.3.2", "lodash.debounce": "^4.0.8", "lodash.defaultsdeep": "^4.6.1", "lodash.mergewith": "^4.6.2", "lodash.throttle": "^4.1.1", "lodash.uniqby": "^4.7.0", "nanoid": "^3.3.4", "react-dropzone": "^14.2.3", "react-fast-compare": "^3.2.2", "react-image-gallery": "1.2.12", "react-markdown": "^9.0.3", "react-player": "2.10.1", "react-popper": "^2.3.0", "react-textarea-autosize": "^8.3.0", "react-virtuoso": "^2.16.5", "remark-gfm": "^4.0.1", "tslib": "^2.6.2", "unist-builder": "^4.0.0", "unist-util-visit": "^5.0.0", "use-sync-external-store": "^1.4.0" }, "optionalDependencies": { "@stream-io/transliterate": "^1.5.5" }, "peerDependencies": { "@breezystack/lamejs": "^1.2.7", "@emoji-mart/data": "^1.1.0", "@emoji-mart/react": "^1.1.0", "emoji-mart": "^5.4.0", "react": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.14.0", "react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.14.0", "stream-chat": "^9.19.0" }, "peerDependenciesMeta": { "@breezystack/lamejs": { "optional": true }, "emoji-mart": { "optional": true }, "@emoji-mart/data": { "optional": true }, "@emoji-mart/react": { "optional": true } }, "files": [ "dist", "package.json", "README.md" ], "devDependencies": { "@axe-core/react": "^4.3.2", "@babel/cli": "^7.12.8", "@babel/core": "^7.12.9", "@babel/node": "^7.12.6", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/plugin-transform-runtime": "^7.12.1", "@babel/preset-env": "^7.12.7", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.12.7", "@breezystack/lamejs": "^1.2.7", "@commitlint/cli": "^18.4.3", "@commitlint/config-conventional": "^18.4.3", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", "@eslint/js": "^9.16.0", "@ladle/react": "^0.16.0", "@playwright/test": "^1.42.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@stream-io/stream-chat-css": "^5.12.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/deep-equal": "^1.0.1", "@types/dotenv": "^8.2.0", "@types/hast": "^2.3.4", "@types/jest": "^29.5.14", "@types/jsdom": "^21.1.5", "@types/linkifyjs": "^2.1.7", "@types/lodash.debounce": "^4.0.7", "@types/lodash.defaultsdeep": "^4.6.9", "@types/lodash.mergewith": "^4.6.9", "@types/lodash.throttle": "^4.1.7", "@types/lodash.uniqby": "^4.7.7", "@types/moment": "^2.13.0", "@types/react": "^19.0.7", "@types/react-dom": "^19.0.3", "@types/react-image-gallery": "^1.2.4", "@types/textarea-caret": "3.0.0", "@types/use-sync-external-store": "^0.0.6", "@types/uuid": "^8.3.0", "autoprefixer": "^10.0.3", "babel-jest": "^28.1.3", "babel-plugin-module-resolver": "^4.1.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", "codecov": "^3.8.1", "concurrently": "^8.2.2", "conventional-changelog-conventionalcommits": "^8.0.0", "core-js": "^3.6.5", "dotenv": "^8.6.0", "emoji-mart": "^5.5.2", "esbuild": "^0.23.1", "eslint": "^9.16.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-sort-destructure-keys": "^2.0.0", "globals": "^15.13.0", "husky": "^8.0.3", "i18next-parser": "^9.3.0", "jest": "^29.7.0", "jest-axe": "^8.0.0", "jest-environment-jsdom": "^29.7.0", "jsdom": "^24.1.1", "lint-staged": "^15.2.1", "moment-timezone": "^0.5.43", "prettier": "^3.5.3", "react": "^19.0.0", "react-dom": "^19.0.0", "semantic-release": "^24.2.3", "stream-chat": "^9.19.0", "ts-jest": "^29.2.5", "typescript": "^5.4.5", "typescript-eslint": "^8.17.0" }, "scripts": { "build": "rm -rf dist && yarn build-translations && yarn bundle", "bundle": "concurrently ./scripts/bundle-esm.mjs ./scripts/copy-css.sh scripts/bundle-cjs.mjs", "build-translations": "i18next", "coverage": "jest --collectCoverage && codecov", "lint": "yarn prettier --list-different && yarn eslint && yarn validate-translations", "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}'", "prettier-fix": "yarn prettier --write", "fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1", "start": "tsc --watch --sourceMap --declarationMap", "prepare": "husky install", "preversion": "yarn install", "test": "jest", "types": "tsc --noEmit", "validate-translations": "node scripts/validate-translations.js", "validate-cjs": "concurrently 'node scripts/validate-cjs-node-bundle.cjs' 'node scripts/validate-cjs-browser-bundle.cjs'", "semantic-release": "semantic-release", "browse-examples": "ladle serve", "e2e": "playwright test", "e2e-fixtures": "node e2e/fixtures/fixtures.mjs", "e2e-container": "./e2e/scripts/run_in_container.sh", "prepack": "yarn build" }, "resolutions": { "ast-types": "^0.14.0", "@types/unist": "^2.0.6" }, "browserslist": [ ">0.2%", "not ie <= 11", "not op_mini all" ], "packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72" }