storybook/scripts/build-storybooks.sh
2018-05-25 14:01:48 -07:00

13 lines
336 B
Bash
Executable File

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