Skip to content

Commit 86ec8ec

Browse files
committed
Add gh-pages deploy script
1 parent dfea81f commit 86ec8ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "webpack",
8-
"start": "webpack-dev-server"
8+
"start": "webpack-dev-server",
9+
"clean": "rm -rf dist",
10+
"build": "npm run clean && webpack",
11+
"deploy": "npm run build && gh-pages -d dist"
912
},
1013
"repository": {
1114
"type": "git",

0 commit comments

Comments
 (0)