Skip to content

Commit

Permalink
Add deploy storybook to github package
Browse files Browse the repository at this point in the history
  • Loading branch information
bendtherules committed Jul 9, 2018
1 parent 29f9ac7 commit 2846adc
Show file tree
Hide file tree
Showing 3 changed files with 332 additions and 16 deletions.
7 changes: 6 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"kind": "build",
"isDefault": true
},
"problemMatcher":[]
"problemMatcher": []
},
{
"type": "npm",
Expand Down Expand Up @@ -54,6 +54,11 @@
"problemMatcher": [
"$eslint-stylish"
]
},
{
"type": "npm",
"script": "deploy-storybook",
"problemMatcher": []
}
]
}
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down Expand Up @@ -116,5 +118,10 @@
"peerDependencies": {
"react": "^15.5.4",
"react-vis": "^1.9.4"
},
"storybook-deployer": {
"gitUsername": "bendtherules",
"gitEmail": "[email protected]",
"commitMessage": "Deploy Storybook to Github Pages [skip ci]"
}
}
Loading

0 comments on commit 2846adc

Please sign in to comment.