stream-chat

v8.40.9
JS SDK for the Stream Chat API
chat messaging conversation react stream getstream getstream.io

start

yarn run compile -w

compile

rollup -c

changelog

standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v

commitlinter

commitlint

build

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

types

tsc --emitDeclarationOnly true

prettier

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

prettier-fix

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

test-types

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

eslint

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

eslint-fix

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

test-unit

NODE_ENV=test mocha --exit --bail --timeout 20000 --require ./babel-register test/unit/*.{js,test.ts}

test-coverage

nyc yarn test-unit

test

yarn test-unit

testwatch

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

lint

yarn run prettier && yarn run eslint

lint-fix

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

fix-staged

lint-staged --config .lintstagedrc.fix.json --concurrent 1

prepare

yarn run build

preversion

yarn && yarn lint && yarn test-unit

version

git add yarn.lock

postversion

git push && git push --tags && npm publish
npm i stream-chat

Metadata

Downloads