Skip to content

Commit

Permalink
fix: build ts in prepublishOnly instead of prepublish because npm
Browse files Browse the repository at this point in the history
Follow up on #12

`prepublish` does not run on `npm publish` KEKW, only `prepublishOnly` does. Brilliant naming!
  • Loading branch information
hlxid committed May 8, 2021
1 parent 4690a72 commit ab8cb09
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 @@ -14,7 +14,7 @@
"format-pre-commit": "pretty-quick --staged --pattern '*/**/*.{ts,json,md,js}'",
"prepare": "husky install",
"semantic-release": "semantic-release",
"prepublish": "npm run build"
"prepublishOnly": "npm run build"
},
"bin": {
"nodecg-io": "index.js"
Expand Down

0 comments on commit ab8cb09

Please sign in to comment.