Skip to content

Commit

Permalink
chore: test with coverage only when publishing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
semmel committed Jul 21, 2024
1 parent 10b2fcb commit 2d55d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
"build:badges": "istanbul-badges-readme --style=\"flat-square\"",
"copy_ts_defs_into_root": "cp ./src/*.d.ts .",
"postpack": "npm run remove_ts_defs_from_root",
"prepack": "npm run test:coverage && npm run build:cjs && npm run copy_ts_defs_into_root",
"publish:docs": "npm run build:docs && mkdocs gh-deploy",
"prepack": "npm run test && npm run build:cjs && npm run copy_ts_defs_into_root",
"publish:docs": "npm run test:coverage && npm run build:docs && mkdocs gh-deploy",
"remove_ts_defs_from_root": "rm -v ./*.d.ts",
"test": "mocha",
"test:coverage": "c8 mocha",
Expand Down

0 comments on commit 2d55d30

Please sign in to comment.