Add action, knobs and docs add-ons
This commit is contained in:
parent
30e280a161
commit
b2a509bd0f
3 changed files with 2881 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
stories: ['../stories/**/*.stories.js'],
|
stories: ['../client/**/*.stories.(jsx|js|mdx)'],
|
||||||
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
|
addons: ['@storybook/addon-actions', '@storybook/addon-docs', '@storybook/addon-knobs', '@storybook/addon-links'],
|
||||||
webpackFinal: async config => {
|
webpackFinal: async config => {
|
||||||
// do mutation to the config
|
// do mutation to the config
|
||||||
|
|
||||||
|
|
2879
package-lock.json
generated
2879
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -61,6 +61,8 @@
|
||||||
"@babel/preset-env": "^7.4.5",
|
"@babel/preset-env": "^7.4.5",
|
||||||
"@babel/preset-react": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"@storybook/addon-actions": "^5.3.6",
|
"@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/addon-links": "^5.3.6",
|
||||||
"@storybook/addons": "^5.3.6",
|
"@storybook/addons": "^5.3.6",
|
||||||
"@storybook/react": "^5.3.6",
|
"@storybook/react": "^5.3.6",
|
||||||
|
|
Loading…
Reference in a new issue