Skip to content

Commit

Permalink
feat: add storybook/viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Jul 16, 2019
1 parent bd72055 commit 9efd0aa
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@storybook/addon-knobs/register'
import '@storybook/addon-actions/register'
import '@storybook/addon-links/register'
import '@storybook/addon-viewport/register'
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"react-router-dom": "^5.0.0",
"react-scripts": "^3.0.1",
"serialijse": "^0.1.3",
"storybook-addon-material-ui": "^0.9.0-alpha.19",
"tiny-secp256k1": "^1.1.2",
"ts-loader": "^6.0.1",
"tslint": "^5.16.0",
Expand All @@ -56,6 +55,7 @@
"@storybook/addon-info": "^5.1.0-rc.1",
"@storybook/addon-knobs": "^5.1.0-rc.1",
"@storybook/addon-links": "^5.1.0-rc.1",
"@storybook/addon-viewport": "^5.1.9",
"@storybook/addons": "^5.1.0-rc.1",
"@storybook/react": "^5.1.0-rc.1",
"@types/storybook__addon-actions": "^3.4.2",
Expand All @@ -64,7 +64,8 @@
"@types/storybook__addon-links": "^3.3.4",
"@types/storybook__react": "^4.0.1",
"awesome-typescript-loader": "^5.2.1",
"react-devtools": "^3.6.1"
"react-devtools": "^3.6.1",
"storybook-addon-material-ui": "^0.9.0-alpha.19"
},
"browserslist": {
"production": [
Expand Down
16 changes: 16 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,22 @@
prop-types "^15.7.2"
qs "^6.6.0"

"@storybook/addon-viewport@^5.1.9":
version "5.1.9"
resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-5.1.9.tgz#509819730ae99a9e08d1e1f71e8e567b068da01c"
integrity sha512-0EEsZ7rWTj3q3M8AFjm6dXjQPS0w4gto8clMzGzdLHXA6D6KG3w10t9XsVr4mxve7PrEpiFXc6mhqsg7wbTDnQ==
dependencies:
"@storybook/addons" "5.1.9"
"@storybook/client-logger" "5.1.9"
"@storybook/components" "5.1.9"
"@storybook/core-events" "5.1.9"
"@storybook/theming" "5.1.9"
core-js "^3.0.1"
global "^4.3.2"
memoizerific "^1.11.3"
prop-types "^15.7.2"
util-deprecate "^1.0.2"

"@storybook/[email protected]", "@storybook/addons@^5.1.0-rc.1":
version "5.1.9"
resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.1.9.tgz#ecf218d08508b97ca5e6e0f1ed361081385bd3ff"
Expand Down

0 comments on commit 9efd0aa

Please sign in to comment.