storybook/scripts/build-storybooks.sh

13 lines
404 B
Bash
Executable File

#!/bin/sh
#
# This builds all the example storybooks for running chromatic on your dev machine
examples=(angular-cli ember-cli cra-kitchen-sink html-kitchen-sink marko-cli mithril-kitchen-sink polymer-cli preact-kitchen-sink vue-kitchen-sink svelte-kitchen-sink official-storybook riot-kitchen-sink)
for example in "${examples[@]}"
do
pushd examples/$example
yarn build-storybook
popd
done