Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
add command to deploy components to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
hharnisc committed Oct 26, 2017
1 parent bb57d97 commit 846d6cf
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"start": "start-storybook -p 9001",
"deploy-storybook": "storybook-to-ghpages",
"lint": "eslint . --ignore-pattern coverage .storybook node_modules",
"test": "yarn run lint && jest",
"test-update": "jest -u",
Expand Down Expand Up @@ -32,6 +33,7 @@
"devDependencies": {
"@storybook/addon-storyshots": "3.2.13",
"@storybook/react": "3.2.13",
"@storybook/storybook-deployer": "2.0.0",
"babel-eslint": "8.0.1",
"enzyme": "3.1.0",
"enzyme-adapter-react-16": "1.0.2",
Expand Down
42 changes: 40 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,14 @@
webpack-dev-middleware "^1.10.2"
webpack-hot-middleware "^2.18.0"

"@storybook/[email protected]":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@storybook/storybook-deployer/-/storybook-deployer-2.0.0.tgz#49e3bfc13ff5c7082e4044149c9d2032f0d63e9f"
dependencies:
git-url-parse "^6.0.2"
shelljs "^0.7.0"
yargs "^8.0.1"

"@storybook/ui@^3.1.3", "@storybook/ui@^3.2.13":
version "3.2.13"
resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.2.13.tgz#c50150a793802e1f4f344fe3ee7af3998d7c5196"
Expand Down Expand Up @@ -3251,6 +3259,19 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"

git-up@^2.0.0:
version "2.0.9"
resolved "https://registry.yarnpkg.com/git-up/-/git-up-2.0.9.tgz#219bfd27c82daeead8495beb386dc18eae63636d"
dependencies:
is-ssh "^1.3.0"
parse-url "^1.3.0"

git-url-parse@^6.0.2:
version "6.2.2"
resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-6.2.2.tgz#be49024e14b8487553436b4572b8b439532fa871"
dependencies:
git-up "^2.0.0"

glamor@^2.20.40:
version "2.20.40"
resolved "https://registry.yarnpkg.com/glamor/-/glamor-2.20.40.tgz#f606660357b7cf18dface731ad1a2cfa93817f05"
Expand Down Expand Up @@ -3800,6 +3821,12 @@ is-resolvable@^1.0.0:
dependencies:
tryit "^1.0.1"

is-ssh@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.0.tgz#ebea1169a2614da392a63740366c3ce049d8dff6"
dependencies:
protocols "^1.1.0"

is-stream@^1.0.1, is-stream@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
Expand Down Expand Up @@ -4928,6 +4955,13 @@ parse-json@^2.2.0:
dependencies:
error-ex "^1.2.0"

parse-url@^1.3.0:
version "1.3.11"
resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-1.3.11.tgz#57c15428ab8a892b1f43869645c711d0e144b554"
dependencies:
is-ssh "^1.3.0"
protocols "^1.4.0"

parse5@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94"
Expand Down Expand Up @@ -5394,6 +5428,10 @@ prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.7,
loose-envify "^1.3.1"
object-assign "^4.1.1"

protocols@^1.1.0, protocols@^1.4.0:
version "1.4.6"
resolved "https://registry.yarnpkg.com/protocols/-/protocols-1.4.6.tgz#f8bb263ea1b5fd7a7604d26b8be39bd77678bf8a"

proxy-addr@~2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.2.tgz#6571504f47bb988ec8180253f85dd7e14952bdec"
Expand Down Expand Up @@ -6097,7 +6135,7 @@ shebang-regex@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"

shelljs@^0.7.7, shelljs@^0.7.8:
shelljs@^0.7.0, shelljs@^0.7.7, shelljs@^0.7.8:
version "0.7.8"
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
dependencies:
Expand Down Expand Up @@ -6900,7 +6938,7 @@ yargs@^6.0.0:
y18n "^3.2.1"
yargs-parser "^4.2.0"

yargs@^8.0.2:
yargs@^8.0.1, yargs@^8.0.2:
version "8.0.2"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360"
dependencies:
Expand Down

0 comments on commit 846d6cf

Please sign in to comment.