Skip to content

Commit afbcdec

Browse files
committed
chore: add prepublishOnly script for security
1 parent 81db8eb commit afbcdec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"lint": "run-p lint:*",
3434
"lint:es": "cross-env PARSER_NO_WATCH=true eslint src --cache --ext md,js,ts -f friendly",
3535
"lint:tsc": "tsc --incremental false --noEmit",
36+
"prepublishOnly": "yarn build",
3637
"pretest": "r",
3738
"test:withPaths": "eslint --ext ts,tsx tests/withPaths",
3839
"test:withoutPaths": "eslint --ext ts,tsx tests/withoutPaths",

0 commit comments

Comments
 (0)