Skip to content

Commit e67c1f1

Browse files
authored
chore: use prepublishOnly instead of prepublish and run npm install in prepublishOnly script (#5399)
1 parent 282e49a commit e67c1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"hexo": "./bin/hexo"
88
},
99
"scripts": {
10-
"prepublish ": "npm run clean && npm run build",
10+
"prepublishOnly": "npm install && npm run clean && npm run build",
1111
"build": "tsc -b",
1212
"clean": "tsc -b --clean",
1313
"eslint": "eslint lib test",

0 commit comments

Comments
 (0)