Skip to content

Commit

Permalink
Adds @storybook/addon-storysource to react
Browse files Browse the repository at this point in the history
  • Loading branch information
roblevintennis committed Sep 17, 2020
1 parent 3e3c74b commit 70a4937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion agnosticui-react/.storybook/main.js
Expand Up @@ -5,7 +5,8 @@ module.exports = {
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials"
"@storybook/addon-essentials",
"@storybook/addon-storysource"
],
webpackFinal: async (config, { configType }) => {
// Stole this from: https://github.com/storybookjs/storybook/issues/6055#issuecomment-606870009
Expand Down
3 changes: 2 additions & 1 deletion agnosticui-react/package.json
Expand Up @@ -32,6 +32,7 @@
"@storybook/addon-essentials": "^6.0.20",
"@storybook/addon-links": "^6.0.20",
"@storybook/addon-storyshots": "^6.0.20",
"@storybook/addon-storysource": "^6.0.21",
"@storybook/react": "^6.0.20",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^10.4.9",
Expand All @@ -57,4 +58,4 @@
"^.+\\.js$": "babel-jest"
}
}
}
}

0 comments on commit 70a4937

Please sign in to comment.