diff --git a/lefthook.yml b/lefthook.yml index 5f7afff..91b9d7c 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -3,10 +3,10 @@ pre-commit: parallel: true commands: biome: - run: biome check --apply . + run: npm run lint-fix stage_fixed: true test: - run: bun test + run: npm run test skip_output: - meta # Skips lefthook version printing diff --git a/package.json b/package.json index 1e964f2..039bd25 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "lint-fix": "biome lint . --apply", "format": "biome format . --write", "check": "biome ci .", - "test": "vitest", + "test": "vitest run", "coverage": "vitest run --coverage", "css-build": "sass sass/mystyles.scss src/mystyles.css", "css-watch": "npm run css-build -- --watch"