stream-chat
v3.5.0 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
test-unit
NODE_ENV=test mocha --exit --bail --timeout 3000 --require ./babel-register test/unit/*.js
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 && 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
prettier-fix
npx prettier --write '**/*.{js,ts,md,css,scss,json}' .eslintrc.json .prettierrc .babelrc
npm i [email protected]
Metadata
- SEE LICENSE IN LICENSE
- 10 || 12 || >=14
- GetStream
- released 3/10/2021