stream-chat
v8.33.1 chat messaging conversation react stream getstream getstream.io
lint
yarn run prettier && yarn run eslint
test
yarn test-unit
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
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
changelog
standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v
test-unit
NODE_ENV=test mocha --exit --bail --timeout 20000 --require ./babel-register test/unit/*.js
testwatch
NODE_ENV=test nodemon ./node_modules/.bin/mocha --timeout 20000 --require test-entry.js test/test.js
eslint-fix
npx eslint --fix '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore
fix-staged
lint-staged --config .lintstagedrc.fix.json --concurrent 1
preversion
yarn && yarn lint && yarn test-unit
test-types
node test/typescript/index.js && tsc --esModuleInterop true --noEmit true --strictNullChecks true --noImplicitAny true --strict true test/typescript/*.ts
postversion
git push && git push --tags && npm publish
commitlinter
commitlint
prettier-fix
npx prettier --write '**/*.{js,ts,md,css,scss,json}' .eslintrc.json .prettierrc .babelrc
test-coverage
nyc yarn test-unit