|
43 | 43 | "check": "run-p -c --aggregate-output check:*", |
44 | 44 | "check-ci": "pnpm check:lint", |
45 | 45 | "check:lint": "eslint --report-unused-disable-directives .", |
46 | | - "check:lint:fix": "pnpm run check:lint -- --fix", |
| 46 | + "check:lint:fix": "pnpm check:lint --fix", |
47 | 47 | "check:tsc": "tsc", |
48 | 48 | "clean": "run-s -c clean:*", |
49 | 49 | "clean:cache": "del-cli '**/.cache'", |
| 50 | + "clean:coverage": "del-cli 'coverage'", |
50 | 51 | "clean:node_modules": "del-cli '**/node_modules'", |
51 | 52 | "coverage": "run-s coverage:*", |
52 | | - "coverage:test": "run-s test:prepare test:unit:coverage", |
| 53 | + "coverage:test": "pnpm test:unit:coverage", |
| 54 | + "coverage:percent": "node scripts/get-coverage-percentage.js", |
53 | 55 | "fix": "run-s lint:fix check:lint:fix", |
54 | 56 | "knip:dependencies": "knip --dependencies", |
55 | 57 | "knip:exports": "knip --include exports,duplicates", |
|
63 | 65 | "prepare": "husky", |
64 | 66 | "test": "run-s check test:*", |
65 | 67 | "test:unit": "dotenvx -q run -f .env.test -- vitest --run", |
66 | | - "test:unit:update": "dotenvx -q run -f .env.test -- vitest --run --update", |
67 | 68 | "test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage", |
| 69 | + "test:unit:update": "dotenvx -q run -f .env.test -- vitest --run --update", |
68 | 70 | "test-ci": "pnpm test", |
69 | 71 | "test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test", |
70 | 72 | "update": "run-p --aggregate-output update:* && run-s update:longtask:**", |
|
78 | 80 | "@eslint/compat": "1.3.2", |
79 | 81 | "@eslint/js": "9.35.0", |
80 | 82 | "@socketsecurity/registry": "1.1.17", |
| 83 | + "@vitest/coverage-v8": "3.2.4", |
81 | 84 | "all-the-package-names": "2.0.0", |
82 | 85 | "all-the-package-names-v1.3905.0": "npm:[email protected]", |
83 | 86 | "del-cli": "6.0.0", |
|
99 | 102 | "taze": "19.6.0", |
100 | 103 | "typescript": "5.9.2", |
101 | 104 | "validate-npm-package-name": "6.0.2", |
102 | | - "vitest": "3.2.4" |
| 105 | + "vitest": "3.2.4", |
| 106 | + "yargs-parser": "21.1.1", |
| 107 | + "yoctocolors-cjs": "2.1.3" |
103 | 108 | }, |
104 | 109 | "engines": { |
105 | 110 | "node": ">=18", |
|
113 | 118 | ], |
114 | 119 | "lint-staged": { |
115 | 120 | "*.{cjs,js,json,md,mjs,mts,ts}": [ |
116 | | - "pnpm run lint:fix:oxlint", |
117 | | - "pnpm run lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off" |
| 121 | + "pnpm lint:fix:oxlint", |
| 122 | + "pnpm lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off" |
118 | 123 | ] |
119 | 124 | }, |
120 | 125 | "pnpm": { |
|
0 commit comments