Add deploy storybook to github package

This commit is contained in:
2018-07-09 19:30:56 +05:30
parent 29f9ac7549
commit 2846adc5c8
3 changed files with 334 additions and 18 deletions
+8 -1
View File
@@ -32,7 +32,8 @@
"watch": "npm run build -- --watch",
"watch:test": "jest --watch",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages"
},
"dependencies": {
"prop-types": "^15.6.2"
@@ -42,6 +43,7 @@
"@storybook/addon-links": "^3.4.8",
"@storybook/addons": "^3.4.8",
"@storybook/react": "^3.4.8",
"@storybook/storybook-deployer": "^2.3.0",
"@types/jest": "^22.0.1",
"@types/node": "^8.0.0",
"@types/prop-types": "^15.5.3",
@@ -116,5 +118,10 @@
"peerDependencies": {
"react": "^15.5.4",
"react-vis": "^1.9.4"
},
"storybook-deployer": {
"gitUsername": "bendtherules",
"gitEmail": "abhasbhattacharya2@gmail.com",
"commitMessage": "Deploy Storybook to Github Pages [skip ci]"
}
}