Skip to content

Commit

Permalink
chore: use prepublishOnly instead of prepublish and run `npm inst…
Browse files Browse the repository at this point in the history
…all` in `prepublishOnly` script (#5399)
  • Loading branch information
yoshinorin authored Jan 19, 2024
1 parent 282e49a commit e67c1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"hexo": "./bin/hexo"
},
"scripts": {
"prepublish ": "npm run clean && npm run build",
"prepublishOnly": "npm install && npm run clean && npm run build",
"build": "tsc -b",
"clean": "tsc -b --clean",
"eslint": "eslint lib test",
Expand Down

0 comments on commit e67c1f1

Please sign in to comment.