From 5059fd0b3b447947058324bf95c7167f4c246ab3 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 7 Sep 2020 17:34:44 -0400 Subject: [PATCH] Update npm scripts for styleguidist build --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3499e8f..b785b26 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "start:frontend": "react-scripts start", "start:api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:5000 api:app", "start:docs": "npx styleguidist server --open --config styleguidist/styleguide.config.js", - "build": "react-scripts build", + "build:frontend": "react-scripts build", + "build:docs": "npx styleguidist build --config styleguidist/styleguide.config.js", "test": "react-scripts test", "eject": "react-scripts eject" },