Skip to content

Commit 42c9a22

Browse files
committed
add build script
1 parent 9a55109 commit 42c9a22

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
@@ -6,7 +6,8 @@
66
},
77
"scripts": {
88
"start": "hexo server",
9-
"deploy": "node pre-deploy.js && hexo clean && hexo generate && hexo deploy"
9+
"build": "node pre-deploy.js && hexo clean && hexo generate",
10+
"deploy": "npm run build && hexo deploy"
1011
},
1112
"dependencies": {
1213
"hexo": "^3.4.2",

0 commit comments

Comments
 (0)