From cf6c47e27f672c87475a39b1e211f3a5ef6b2bf9 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 19 Apr 2021 00:43:17 -0400 Subject: [PATCH] Change storybook build dir to build-docs --- .gitignore | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4151e3f..1dbe75a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ # React Build Files /build +# Storybook Build Files +/build-docs + # React local environment files .env.local .env.development.local diff --git a/package.json b/package.json index 79cc825..b311543 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "start:api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:5000 api:app", "start:docs": "start-storybook -p 6006 -s public -c storybook-config", "build:frontend": "react-scripts build", - "build:docs": "build-storybook -s public -c storybook-config", + "build:docs": "build-storybook -s public -c storybook-config -o build-docs", "kill:frontend": "pgrep -u $(whoami) -f 'react-scripts/scripts/start.js' -d ' ' | xargs kill -9", "kill:api": "pgrep -u $(whoami) -f gunicorn -d ' ' | xargs kill -9", "venv:create": "python3 utils/venv-manager.py create",