Skip to content

Commit 495e56f

Browse files
committed
Add test and docs scripts to prepublishOnly script
1 parent 28b685e commit 495e56f

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
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://matejchalk.github.io/better-enums/",
2424
"scripts": {
25-
"prepublishOnly": "npm run build",
25+
"prepublishOnly": "npm test && npm run build && npm run docs",
2626
"build": "tsup",
2727
"test": "jest",
2828
"docs": "typedoc",

0 commit comments

Comments
 (0)