Skip to content

Commit b24728a

Browse files
committed
add demo page publish script
1 parent 713c782 commit b24728a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"bugs": {
2525
"url": "https://github.com/fluse/react-scroll-bound/issues"
2626
},
27-
"homepage": "https://github.com/fluse/react-list-scroll-bound",
27+
"homepage": "https://github.com/fluse/react-scroll-bound",
2828
"scripts": {
2929
"start": "webpack-dev-server --open --mode development",
3030
"page": "webpack --mode production --output-path page",

publish.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var ghpages = require('gh-pages');
2+
3+
ghpages.publish('page', function(err) {});

0 commit comments

Comments
 (0)