check-1-2
v0.0.7
Published
Run your validation scripts in parallel
Readme
Features
- Real-time output streaming per script
- CI-friendly
- Supports npm, pnpm, yarn, and bun
- Apply fixes with
--fixflag
Installation
npm install -g check-1-2Usage
Add a checks array to your package.json:
{
"scripts": {
"lint": "eslint .",
"test": "jest",
"typecheck": "tsc --noEmit"
},
"checks": ["test", "lint", "typecheck"]
}Then run:
checksOptions
Include 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"]
}
}