stream-chat-react-native-core

v5.0.0-beta.3
The official React Native and Expo components for Stream Chat, a service for building chat applications

lint

prettier --ignore-path ../.prettierignore --list-different 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc && eslint 'src/**/*.{js,ts,tsx,md}' --max-warnings 0 && yarn run validate-translations

build

rm -rf lib && yarn run --silent build-translations && bob build && yarn run --silent copy-translations && yarn run --silent lint-fix-translations

eslint

eslint 'src/**/*.{js,md,ts,jsx,tsx}' --max-warnings 0

analyze

yarn build -- --stats && webpack-bundle-analyzer build/bundle-stats.json

prepack

cp ../README.md .

prepare

yarn run build

release

FILTER_PATH='package' TAG_FORMAT='v${version}' node ../release/prod

version

bash ./bin/before-tag.sh

lint-fix

prettier --ignore-path ../.prettierignore --write 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0

postpack

rm README.md

prettier

prettier --list-different '**/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc

bootstrap

yarn install

test:unit

TZ=UTC jest

get-version

echo $npm_package_version

bootstrap-ci

yarn install --frozen-lockfile

prettier-fix

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

release-next

FILTER_PATH='package' TAG_FORMAT='v${version}' node ../release/next

test:coverage

yarn test:unit --coverage

prepublishOnly

echo 'running prepublishOnly for core package' && bash ./bin/before-tag.sh && bash ./bin/release.sh && echo 'finished running prepublishOnly for core package'

copy-translations

echo 'ℹ Copying translation files to lib/typescript/i18n' && cp -R -f ./src/i18n ./lib/typescript/i18n && echo '✓ Done Copying Translations'

extract-changelog

FILTER_PATH='package' TAG_FORMAT='v${version}' node ../release/extract-changelog.js

build-translations

rm -rf .tmpi18ncache || true && mkdir .tmpi18ncache && yarn run babel --config-file ./babel.i18next-extract.json 'src/**/*.{js,jsx,ts,tsx}' --out-dir '.tmpi18ncache/' && rm -rf .tmpi18ncache && prettier --write 'src/i18n/*.{js,ts,tsx,md,json}' .eslintrc.json ../.prettierrc .babelrc

prepare-distribution

cd examples/SampleApp && npm version patch && react-native-version && git add ./ && git commit -m 'Bump build version' --no-verify

lint-fix-translations

prettier --check 'src/i18n/*.json' --write 'src/i18n/*.json' .eslintrc.json ../.prettierrc .babelrc

validate-translations

node bin/validate-translations.js

Metadata

Downloads