Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit ab8cb09

Browse files
committed
fix: build ts in prepublishOnly instead of prepublish because npm
Follow up on #12 `prepublish` does not run on `npm publish` KEKW, only `prepublishOnly` does. Brilliant naming!
1 parent 4690a72 commit ab8cb09

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
@@ -14,7 +14,7 @@
1414
"format-pre-commit": "pretty-quick --staged --pattern '*/**/*.{ts,json,md,js}'",
1515
"prepare": "husky install",
1616
"semantic-release": "semantic-release",
17-
"prepublish": "npm run build"
17+
"prepublishOnly": "npm run build"
1818
},
1919
"bin": {
2020
"nodecg-io": "index.js"

0 commit comments

Comments
 (0)