getstream
v8.4.1 stream get get-stream chat notification feed stream.io getstream
dist
webpack && webpack --env minify
lint
yarn run prettier && yarn run eslint
test
yarn run test-unit-node
build
rm -rf lib && yarn run transpile && yarn run types
types
tsc --emitDeclarationOnly
eslint
eslint '**/*.{js,ts}' --max-warnings 0
prepare
yarn run build
version
yarn run dist && yarn run build && git add dist
lint-fix
prettier --write '**/*.{js,ts}' && eslint --fix '**/*.{js,ts}'
prettier
prettier --list-different '**/*.{js,ts}'
changelog
standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v
transpile
babel src --out-dir lib --extensions '.ts'
preversion
yarn run test-unit-node
test-cloud
mocha --require ./babel-register.js test/integration/cloud --timeout 40000
test-types
tsc --skipLibCheck --target es2020 --esModuleInterop true --noEmit true test/typescript/*.ts
postversion
git push && git push --tags && npm publish
commitlinter
commitlint
test-browser
karma start karma.config.js
test-unit-node
mocha --require ./babel-register.js test/unit/common test/unit/node
test-cloud-local
LOCAL=true mocha --require ./babel-register.js test/integration/cloud --timeout 40000 --ignore 'test/integration/cloud/{personalized_feed,files,images}.js'
test-integration-node
mocha --require ./babel-register.js test/integration/common test/integration/node --exit