Run your validation scripts (test, lint, type-checking, etc.) in parallel
- Real-time output streaming per script
- CI-friendly
- Supports npm, pnpm, yarn, and bun
- Apply fixes with
--fixflag
npm install -g check-1-2Add a checks array to your package.json:
{
"scripts": {
"lint": "eslint .",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"checks": ["test", "lint", "typecheck"]
}Then run:
checksInclude fix scripts when applicable, then use checks --fix to run:
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"checks": [{ "check": "lint", "fix": "lint:fix" }]
}Set a custom runner (bun, pnpm, or yarn) with the runner option:
{
"checks": {
"runner": "bun",
"scripts": ["lint", "test", "typecheck"]
}
}
