Add action, knobs and docs add-ons

This commit is contained in:
Andrew Nicolaou 2020-01-19 17:46:09 +01:00
parent 30e280a161
commit b2a509bd0f
3 changed files with 2881 additions and 4 deletions

View file

@ -1,6 +1,6 @@
module.exports = {
stories: ['../stories/**/*.stories.js'],
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
stories: ['../client/**/*.stories.(jsx|js|mdx)'],
addons: ['@storybook/addon-actions', '@storybook/addon-docs', '@storybook/addon-knobs', '@storybook/addon-links'],
webpackFinal: async config => {
// do mutation to the config

2879
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -61,6 +61,8 @@
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-actions": "^5.3.6",
"@storybook/addon-docs": "^5.3.6",
"@storybook/addon-knobs": "^5.3.6",
"@storybook/addon-links": "^5.3.6",
"@storybook/addons": "^5.3.6",
"@storybook/react": "^5.3.6",