Skip to content

Commit

Permalink
Add prepublishOnly script to build/test
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Mar 19, 2024
1 parent 4f00112 commit ef1c1db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run --coverage && eslint .",
"test:watch": "vitest"
"test:watch": "vitest",
"prepublishOnly": "pnpm build && pnpm test"
},
"author": "Ian VanSchooten <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit ef1c1db

Please sign in to comment.