diff --git a/package.json b/package.json index f489dd4..3e15c9d 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,12 @@ "prepare": "husky", "git:pre-commit": "npm run git:lint-staged && npm run git:test-staged", "git:commit-msg": "commitlint --config commitlint.config.cjs --edit", - "git:lint-staged": "npm run test:lint", + "git:lint-staged": "npm run test:lint:staged", "git:test-staged": "which node", "lint": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", "test": "npm run test:lint && npm run test:unit && npm run test:types && npm run test:sast && npm run test:perf && npm run test:dast", - "test:lint": "biome check --staged --no-errors-on-unmatched", + "test:lint": "biome ci --no-errors-on-unmatched", + "test:lint:staged": "biome check --staged --no-errors-on-unmatched", "test:unit": "node --test --test-concurrency 1 --experimental-test-coverage --test-coverage-lines=98 --test-coverage-branches=95 --test-coverage-functions=97 --test-coverage-exclude=**/mock.js --test-coverage-exclude=**/*.test.js --test-coverage-exclude=**/table/*", "test:sast": "npm run test:sast:license && npm run test:sast:lockfile && npm run test:sast:trivy && npm run test:sast:semgrep && npm run test:sast:trufflehog", "test:sast:license": "license-check-and-add check -f license.json",