stream-chat-react

v12.2.1
React components to create chat conversations or livestream style chat
chat messaging conversation react stream getstream getstream.io

build

rm -rf dist && ./scripts/copy-version.sh && yarn build-translations && yarn bundle

bundle

concurrently tsc ./scripts/copy-css.sh ./scripts/bundle.mjs

build-translations

i18next

coverage

jest --collectCoverage && codecov

eslint

eslint '**/*.{js,md,ts,jsx,tsx}' --max-warnings 0

lint

prettier --list-different 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js && eslint 'src/**/*.{js,ts,tsx,md}' --max-warnings 0 && yarn validate-translations

lint-fix

prettier --write 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0

prettier

prettier --list-different '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js

prettier-fix

prettier --write '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js

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 --skipLibCheck false

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

docs:copy-css-docs

scripts/merge-stream-chat-css-docs.sh node_modules/@stream-io/stream-chat-css/docs

docs:run

yarn docs:copy-css-docs && stream-chat-docusaurus -s
npm i stream-chat-react

Metadata

Downloads