2.0.0 • Published 10 months ago
monorepo-coverage-badges v2.0.0
# npm
npm install monorepo-coverage-badges -D
# yarn
yarn add monorepo-coverage-badges -D
# pnpm
pnpm i monorepo-coverage-badges -D
{
"scripts": {
"test": "vitest --run && pnpm badges",
"test:watch": "vitest --ui --coverage",
"test:ci": "vitest --run --coverage && pnpm badges:ci",
"badges": "monorepo-coverage-badges",
"badges:ci": "monorepo-coverage-badges --ci"
}
}
{
"husky": {
"hooks": {
"pre-commit": "pnpm test && pnpm badges"
}
}
}