Skip to content

Commit

Permalink
separate build and book
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitaru committed Feb 15, 2023
1 parent cf3b798 commit 43d32e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ export const parameters = {
backgrounds: {
default: 'light',
},
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}

export const render = createLitRenderer({
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"scripts": {
"manifest": "custom-elements-manifest analyze",
"dev": "concurrently \"pnpm manifest --watch\" \"storybook dev --port 6006\"",
"build": "tsc && vite build && pnpm run manifest && storybook build",
"build": "concurrently \"tsc\" \"vite build\"",
"build:storybook": "pnpm run manifest && storybook build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
Expand Down

0 comments on commit 43d32e7

Please sign in to comment.