Skip to content

Commit

Permalink
Revert "[HOTFIX]Add npm command to run a single story in Storybook."
Browse files Browse the repository at this point in the history
This reverts commit dd6a1a6.
  • Loading branch information
elvishu committed Jun 24, 2024
1 parent 0092396 commit 3405101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ const config = {
"../src/stories/Introduction.mdx",
// Include all stories found under the src/components directory ( For example: alert/alert.stories.js )
// Exlude any stories starting with an underscore ( For example: _exludeme.stories.js )
// "../src/**/!(*_)*.mdx",
// "../src/**/!(*_)*.stories.js",
process.env.STORYBOOK_SINGLE ? process.env.STORYBOOK_SINGLE : "../src/**/!(*_)*.mdx",
process.env.STORYBOOK_SINGLE ? process.env.STORYBOOK_SINGLE : "../src/**/!(*_)*.stories.js",
"../src/**/!(*_)*.mdx",
"../src/**/!(*_)*.stories.js",
],
staticDirs: [
{ from: '../dist', to: '/assets' },
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
"serve": "live-server dist",
"dev-storybook": "npm-run-all --parallel watch storybook",
"storybook": "storybook dev -p 6006",
"storybook-single": "STORYBOOK_SINGLE=../src/components/bs5/button/button.stories.js npm run storybook",
"storybook-single-watch": "STORYBOOK_SINGLE=../src/components/bs5/button/button.stories.js npm-run-all --parallel watch storybook",
"build-storybook": "storybook build --webpack-stats-json ",
"build-storybook:serve": "live-server storybook-static"
},
Expand Down

0 comments on commit 3405101

Please sign in to comment.