stream-chat-css

v1.0.16
Bundled CSS for Stream Chat web SDKs

build

rm -rf dist && mkdir -p dist && yarn bundle-sass && yarn copy-assets && yarn copy-styles

bundle-sass

echo 'ℹ Compiling scss files to css bundle' && sass src/styles/index.scss dist/css/index.css --style compressed && echo '✓ Finished bundling css'

copy-assets

echo 'ℹ Copying assets to distributed directory' && cp -R src/assets dist/assets && echo '✓ Finished copying assets'

copy-styles

echo 'ℹ Copying scss files to distributed directory' && cp -R src/styles dist/scss && echo '✓ Finished copying styles'

lint

stylelint '**/*.scss' --max-warnings 0

preversion

yarn && yarn lint && yarn build

postversion

git push && git push --tags && npm publish

start

yarn build && sass --watch src/styles/index.scss dist/css/index.css

Metadata

  • MIT
  • Whatever
  • GetStream
  • released 10/1/2021

Downloads

Maintainers