Skip to content

Commit 38ec0af

Browse files
committed
Adding storybook gh-pages deploy
1 parent b193125 commit 38ec0af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"postinstall": "npm run bootstrap",
55
"start": "start-storybook -p 8000 -c .storybook",
66
"storybook": "build-storybook -o build",
7+
"publish-storybook": "npm run storybook && gh-pages -d build -b gh-pages -r https://github.com/primer/storybook",
78
"bootstrap": "lerna bootstrap --hoist",
89
"clean": "lerna clean",
910
"distclean": "lerna clean --yes && rm -rf node_modules",
@@ -26,6 +27,7 @@
2627
"babel-preset-react": "^6.24.1",
2728
"commit-status": "^4.1.0",
2829
"css-loader": "^0.28.4",
30+
"gh-pages": "^1.0.0",
2931
"glob": "^7.1.2",
3032
"html-to-react": "^1.2.11",
3133
"lerna": "^2.4.0",

0 commit comments

Comments
 (0)