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
  • Loading branch information
yoshinorin committed Jan 19, 2024
1 parent 282e49a commit 3a21a4d
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 3a21a4d

Please sign in to comment.