From 0cd90e83e62042f182b6e000ec84f4a8b94ecd9a Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 2 Aug 2021 23:39:41 -0400 Subject: [PATCH] Update docs build dir to work with gh-pages --- .gitignore | 11 ++--------- package.json | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 1dbe75a..952f43e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,9 +11,6 @@ # React Build Files /build -# Storybook Build Files -/build-docs - # React local environment files .env.local .env.development.local @@ -29,9 +26,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -# Python Files -/api/venv -__pycache__/ -venv-manager.log -/api/.env -*.egg* +# API Files +/api/* \ No newline at end of file diff --git a/package.json b/package.json index 23acd11..6f19314 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "start:api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:8000 --log-level debug webqueue2api.api:app", "start:docs": "start-storybook -p 6006 -s public -c storybook-config --no-manager-cache", "build:frontend": "react-scripts build", - "build:docs": "build-storybook -s public -c storybook-config -o build-docs", + "build:docs": "build-storybook -s public -c storybook-config -o 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",