build
rm -rf dist && mkdir -p dist && yarn bundle-sass && yarn copy-assets && yarn copy-styles
bundle-sass
echo '[34mℹ[0m Compiling scss files to css bundle' && sass src/styles/index.scss dist/css/index.css --style compressed && echo '[32m✓[0m Finished bundling css'
copy-assets
echo '[34mℹ[0m Copying assets to distributed directory' && cp -R src/assets dist/assets && echo '[32m✓[0m Finished copying assets'
copy-styles
echo '[34mℹ[0m Copying scss files to distributed directory' && cp -R src/styles dist/scss && echo '[32m✓[0m Finished copying styles'
lint
stylelint '**/*.scss' --max-warnings 0
preversion
yarn && yarn lint
postversion
git push && git push --tags && npm publish
start
yarn build && sass --watch src/styles/index.scss dist/css/index.css