stream-chat-react

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

docs

styleguidist build

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 && yarn stylelint

test

rm -rf built && jest

build

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

start

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

types

tsc --strict

bundle

rollup -c

eslint

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

analyze

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

prepare

yarn run build

version

yarn docs && git add docs

coverage

yarn test --collectCoverage && codecov

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 && yarn stylelint --fix

prettier

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

stylelint

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

preversion

yarn install && yarn lint && yarn test

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,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js

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 --extensions '.ts','.tsx','.js','.jsx' 'src/**/*.{js,jsx,ts,tsx}' --out-dir '.tmpi18ncache/' && rm -rf .tmpi18ncache && prettier --write 'src/i18n/*.{js,jsx,ts,tsx,json}'

validate-translations

node scripts/validate-translations.js

Metadata

  • Unknown
  • Whatever
  • GetStream
  • released 4/10/2021

Downloads