Skip to content

Commit

Permalink
chore: add prepublishOnly script
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgao365 committed Jun 4, 2024
1 parent d930ce5 commit b1f3200
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"lint:eslint": "eslint \"{src,templates}/**/*.{js,cjs,ts,tsx,vue}\" *.{js,cjs,ts} --fix --cache",
"lint:stylelint": "stylelint \"templates/**/*.{css,scss,less,vue,html}\" --fix --cache",
"lint:prettier": "prettier --write .",
"prepare": "husky"
"prepare": "husky",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@tomjs/logger": "^1.0.0",
Expand Down

0 comments on commit b1f3200

Please sign in to comment.