Skip to content

Commit

Permalink
update deploy information
Browse files Browse the repository at this point in the history
  • Loading branch information
GhassenEljday committed May 21, 2023
1 parent 339c8f4 commit 9e2cb55
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
lib
.vercel
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/example
/src
/src
/storybook-static
3 changes: 3 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
const preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
storySort: {
order: ["Example", ["Google Play Button"]],
},
controls: {
matchers: {
color: /(background|color)$/i,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "echo \"Error: no test specified\" && exit 1",
"build": "babel src --extensions '.ts,.tsx' --out-dir lib --ignore src/__tests__/ && cp -R src/assets lib/",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"serve-storybook": "npx serve storybook-static"
},
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "npm run build-storybook",
"devCommand": "npm run storybook",
"installCommand": "npm install",
"framework": null,
"outputDirectory": "./storybook-static"
}

1 comment on commit 9e2cb55

@vercel
Copy link

@vercel vercel bot commented on 9e2cb55 May 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.