From 6373de8ab5c809cbc3dd4e6e22af0e55b3b7e70f Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Fri, 9 Oct 2020 15:21:16 -0400 Subject: [PATCH] ci: add storybook vercel deploy --- package.json | 5 +++-- vercel.json | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 vercel.json diff --git a/package.json b/package.json index 29b8f67..019b51b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "storybook": "start-storybook -p 6006", - "build-storybook": "build-storybook" + "build-storybook": "build-storybook", + "now-build": "build-storybook" }, "repository": { "type": "git", @@ -47,4 +48,4 @@ "tslint-plugin-prettier": "^2.3.0", "typescript": "^4.0.3" } -} +} \ No newline at end of file diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..6a85b18 --- /dev/null +++ b/vercel.json @@ -0,0 +1,12 @@ +{ + "version": 2, + "builds": [ + { + "src": "package.json", + "use": "@vercel/static-build", + "config": { + "distDir": "storybook-static" + } + } + ] +} \ No newline at end of file