Skip to content

Commit

Permalink
chore: updated storybook, added addons
Browse files Browse the repository at this point in the history
  • Loading branch information
giubatt committed Jun 9, 2021
1 parent ea5098c commit 7cca9ca
Show file tree
Hide file tree
Showing 4 changed files with 444 additions and 359 deletions.
10 changes: 8 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
"@babel/preset-typescript",
[
"@babel/preset-react",
{
"runtime": "automatic",
"importSource": "react"
}
]
]
}
2 changes: 2 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ module.exports = {
"@storybook/addon-essentials",
"@storybook/preset-create-react-app",
"@storybook/addon-a11y",
"@storybook/addon-measure",
"storybook-addon-outline",
]
}
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,16 @@
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@release-it/keep-a-changelog": "^2.3.0",
"@storybook/addon-a11y": "^6.2.9",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/addon-storyshots": "^6.2.9",
"@storybook/addon-storyshots-puppeteer": "^6.2.9",
"@storybook/node-logger": "^6.2.9",
"@storybook/addon-a11y": "^6.3.0-rc.0",
"@storybook/addon-actions": "^6.3.0-rc.0",
"@storybook/addon-essentials": "^6.3.0-rc.0",
"@storybook/addon-links": "^6.3.0-rc.0",
"@storybook/addon-measure": "^1.2.3",
"@storybook/addon-storyshots": "^6.3.0-rc.0",
"@storybook/addon-storyshots-puppeteer": "^6.3.0-rc.0",
"@storybook/node-logger": "^6.3.0-rc.0",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.9",
"@storybook/react": "^6.3.0-rc.0",
"@testing-library/jest-dom": "^5.13.0",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
Expand Down Expand Up @@ -151,6 +152,7 @@
"react-dom": "^17.0.2",
"react-styleguidist": "^11.1.7",
"release-it": "^14.8.0",
"storybook-addon-outline": "^1.3.3",
"typescript": "^4.1.3"
}
}
Loading

0 comments on commit 7cca9ca

Please sign in to comment.