stream-chat

v2.4.0
JS SDK for the Stream Chat API
chat messaging conversation react stream getstream getstream.io

lint

yarn run prettier && yarn run eslint

test

NODE_ENV=test mocha --exit --bail --timeout 15000 --require ./babel-register test/*.js --async-stack-traces

build

rm -rf dist && yarn run types && yarn run compile

start

yarn run compile -w

types

tsc --emitDeclarationOnly true

eslint

eslint '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore

compile

rollup -c

prepare

yarn run build

testall

NODE_ENV=test mocha --exit --timeout 3000 --require ./babel-register test/*.js --async-stack-traces

version

git add yarn.lock

lint-fix

yarn run prettier-fix && yarn run eslint-fix

prettier

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

testwatch

NODE_ENV=test nodemon ./node_modules/.bin/mocha --timeout 15000 --require test-entry.js test/test.js

eslint-fix

npx eslint --fix '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore

preversion

yarn && yarn lint

test-local

STREAM_LOCAL_TEST_RUN=true yarn test

test-types

node ts-test/index.js && tsc --esModuleInterop true --noEmit true --strictNullChecks true --noImplicitAny true --strict true ts-test/*.ts

postversion

git push && git push --tags

prettier-fix

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

Metadata

Downloads