Skip to content

Commit

Permalink
Run tests in "prepack" hook
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol committed Oct 13, 2024
1 parent 8cbe1df commit 91ce547
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/sonda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
"CHANGELOG.md"
],
"scripts": {
"test": "vitest",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prepack": "pnpm run build && clean-package -rm devDependencies scripts",
"prepack": "pnpm run test && pnpm run build && clean-package -rm devDependencies scripts",
"build:load-source-map": "cd ../load-source-map && pnpm run build",
"build:html": "cd ../html-report && pnpm run build",
"build:dist": "rollup -c ../../rollup.config.js && tsc",
Expand Down

0 comments on commit 91ce547

Please sign in to comment.