UNPKG

@gifyourgame/stream-chat-react

Version:

React components to create chat conversations or livestream style chat

181 lines (180 loc) 6.51 kB
{ "name": "@gifyourgame/stream-chat-react", "version": "1.2.5008", "description": "React components to create chat conversations or livestream style chat", "author": "GetStream", "homepage": "https://getstream.io/chat/", "typings": "./types/index.d.ts", "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "style": "dist/css/index.css", "jsdelivr": "./dist/browser.full-bundle.min.js", "keywords": [ "chat", "messaging", "conversation", "react", "stream", "getstream", "getstream.io" ], "dependencies": { "@braintree/sanitize-url": "^4.0.1", "@webscopeio/react-textarea-autocomplete": "^4.6.3", "dayjs": "^1.8.25", "emoji-mart": "3.0.0", "emoji-regex": "^9.0.0", "i18next": "^19.4.3", "isomorphic-ws": "^4.0.1", "linkifyjs": "^2.1.9", "lodash.debounce": "^4.0.8", "lodash.uniqby": "^4.7.0", "lodash.truncate": "^4.4.2", "pretty-bytes": "^5.3.0", "prop-types": "^15.7.2", "react-fast-compare": "^3.2.0", "react-file-utils": "0.3.14", "react-images": "^1.1.3", "react-is": "^16.13.1", "react-markdown": "^4.3.1", "react-player": "^1.15.3", "react-textarea-autosize": "^7.1.2", "seamless-immutable": "^7.1.4", "shallow-diff": "^0.0.5", "stream-browserify": "^2.0.2", "stream-chat": "^1.12.1", "uuid": "^7.0.3", "visibilityjs": "^2.0.2" }, "peerDependencies": { "react": "^16.8.x", "react-dom": "^16.8.x" }, "files": [ "dist", "/types", "README.md" ], "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/node": "^7.8.7", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-react": "^7.9.4", "@babel/preset-typescript": "^7.9.0", "@stream-io/rollup-plugin-node-builtins": "^2.1.5", "@testing-library/jest-dom": "^5.5.0", "@testing-library/react": "^10.0.3", "@testing-library/react-hooks": "^3.3.0", "@types/braintree__sanitize-url": "^4.0.0", "@types/lodash.truncate": "^4.4.6", "@types/emoji-mart": "^3.0.2", "@types/seamless-immutable": "7.1.12", "@types/uuid": "^7.0.2", "autoprefixer": "^9.7.6", "babel-eslint": "^10.1.0", "babel-loader": "8.1.0", "babel-plugin-i18next-extract": "^0.7.2", "codecov": "^3.7.0", "eslint": "6.8.0", "eslint-config-airbnb": "^18.1.0", "eslint-config-prettier": "^6.11.0", "eslint-config-react-app": "^5.2.1", "eslint-import-resolver-alias": "^1.1.2", "eslint-loader": "^4.0.0", "eslint-plugin-babel": "^5.3.0", "eslint-plugin-flowtype": "^4.7.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jest": "^23.8.2", "eslint-plugin-jest-dom": "^2.1.0", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-markdown": "^1.0.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^3.0.0", "eslint-plugin-sonarjs": "^0.5.0", "htmlparser2": "^4.1.0", "husky": "^4.2.5", "jest": "^25.4.0", "node-sass": "^4.13.1", "node-sass-import": "^2.0.1", "postcss-loader": "^3.0.0", "prettier": "^2.0.5", "react-styleguidist": "^11.0.5", "react-test-renderer": "^16.13.1", "rollup": "^2.7.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-copy": "^3.3.0", "rollup-plugin-copy-glob": "^0.3.1", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-scss": "^2.4.0", "rollup-plugin-url": "^3.0.1", "sass": "^1.26.3", "sass-loader": "^8.0.2", "style-loader": "^1.1.4", "stylelint": "^13.3.3", "stylelint-config-recommended-scss": "^4.2.0", "stylelint-config-standard": "^20.0.0", "stylelint-scss": "^3.17.1", "typescript": "^3.8.3", "url-loader": "^4.1.0", "webpack": "4.43.0", "webpack-cli": "^3.3.11", "webpack-dev-server": "~3.10.3" }, "resolutions": { "stream-browserify/**/readable-stream": "2.3.6" }, "husky": { "hooks": { "pre-commit": "dotgit/hooks/pre-commit-format.sh && dotgit/hooks/pre-commit-reject-binaries.py" } }, "scripts": { "test": "rm -rf built && jest", "coverage": "yarn test --collectCoverage && codecov", "start": "mkdir -p dist/assets assets && yarn build-translations && rollup -c -w", "build": "mkdir -p dist/assets assets && yarn build-translations && rollup -c", "types": "tsc --strict", "docs": "styleguidist build", "docs-server": "styleguidist server", "watch-styles": "sass --watch src/styles/index.scss dist/styles/styles.css", "build-styles": "sass src/styles/index.scss dist/styles/styles.css --style compressed", "prettier": "prettier --list-different '**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc", "prettier-fix": "prettier --write '**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc", "eslint": "eslint '**/*.{js,md}' --max-warnings 0", "stylelint": "stylelint '**/*.{css,scss}'", "analyze": "yarn build -- --stats && webpack-bundle-analyzer build/bundle-stats.json", "lint": "yarn prettier && yarn eslint && yarn stylelint", "lint-fix": "yarn prettier-fix && yarn eslint --fix && yarn stylelint --fix", "build-translations": "rm -rf .tmpi18ncache || true && mkdir .tmpi18ncache && yarn run babel --config-file ./babel.i18next-extract.js 'src/**/*.{js,jsx,ts,tsx}' --out-dir '.tmpi18ncache/' && rm -rf .tmpi18ncache && prettier --write 'src/i18n/*.{js,json}'", "validate-translations": "node scripts/validate-translations.js", "prepare": "yarn run build", "preversion": "make example-deps && git add yarn.lock && git add examples/*/yarn.lock", "version": "yarn docs && git add docs && git add yarn.lock examples/*/yarn.lock", "postversion": "git push && git push --tags && npm publish" }, "stylelint": { "extends": "stylelint-config-recommended-scss", "rules": { "no-descending-specificity": null, "no-duplicate-selectors": null, "block-no-empty": null } }, "browserslist": [ ">0.2%", "not ie <= 11", "not op_mini all" ] }