Skip to content

Commit

Permalink
Check uncommitted built files
Browse files Browse the repository at this point in the history
This commit aims to check uncommitted build files by `npm test`.
  • Loading branch information
ybiquitous committed Oct 31, 2023
1 parent 7d9258b commit e0b954e
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 @@ -10,13 +10,14 @@
"scripts": {
"prepare": "husky install",
"build": "ncc build src/main.ts",
"build-check": "git diff --exit-code -- dist/",
"format": "prettier --write --cache .",
"lint": "npm-run-all --parallel --continue-on-error lint:*",
"lint:formatting": "prettier . --check --cache",
"lint:md": "remark . --quiet --frail",
"lint:types": "tsc",
"pretest": "npm run lint",
"test": "vitest run && npm run build",
"test": "vitest run && npm run build && npm run build-check",
"watch": "vitest watch"
},
"lint-staged": {
Expand Down

0 comments on commit e0b954e

Please sign in to comment.