stream-chat-react

v3.5.3-beta.0
React components to create chat conversations or livestream style chat
chat messaging conversation react stream getstream getstream.io

docs

styleguidist build

lint

yarn prettier && yarn eslint && yarn stylelint

test

rm -rf built && jest

build

mkdir -p dist/assets assets && yarn build-translations && yarn bundle

start

mkdir -p dist/assets assets && yarn build-translations && yarn bundle -w

types

tsc --strict

bundle

rollup -c

eslint

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

analyze

yarn build -- --stats && webpack-bundle-analyzer build/bundle-stats.json

prepare

yarn run build

version

yarn docs && git add docs && git add yarn.lock examples/*/yarn.lock

coverage

yarn test --collectCoverage && codecov

lint-fix

yarn prettier-fix && yarn eslint --fix && yarn stylelint --fix

prettier

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

stylelint

stylelint '**/*.{css,scss}'

preversion

yarn install && yarn lint && yarn test && make example-deps && git add yarn.lock && git add examples/*/yarn.lock

bundle-size

BUNDLE_SIZE=true yarn bundle

docs-server

styleguidist server

postversion

git push && git push --tags && npm publish

build-styles

sass src/styles/index.scss dist/css/index.css --style compressed

prettier-fix

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

watch-styles

sass --watch src/styles/index.scss dist/css/index.css

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

Metadata

  • Unknown
  • Whatever
  • GetStream
  • released 1/28/2021

Downloads