Skip to content

Commit ef1c1db

Browse files
committed
Add prepublishOnly script to build/test
1 parent 4f00112 commit ef1c1db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"scripts": {
1212
"build": "tsc -p tsconfig.json",
1313
"test": "vitest run --coverage && eslint .",
14-
"test:watch": "vitest"
14+
"test:watch": "vitest",
15+
"prepublishOnly": "pnpm build && pnpm test"
1516
},
1617
"author": "Ian VanSchooten <[email protected]>",
1718
"license": "MIT",

0 commit comments

Comments
 (0)