Skip to content

Commit 5059b2f

Browse files
committed
Add script to deploy to gh-pages
1 parent 6e31c0c commit 5059b2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"bugs": "https://github.com/jakezatecky/react-checkbox-tree/issues",
1717
"main": "lib/index.js",
1818
"scripts": {
19-
"examples": "gulp examples"
19+
"examples": "gulp examples",
20+
"gh-deploy": "git subtree push --prefix examples/dist origin gh-pages"
2021
},
2122
"peerDependencies": {
2223
"react": "^15.3.0"

0 commit comments

Comments
 (0)