Skip to content

Dev script integration

Use wrap in a package script:

{
"scripts": {
"dev": "suitener wrap \"bun run server\"",
"server": "bun run src/server.ts"
}
}

Behavior:

  • Suitener checks first.
  • One summary line is printed.
  • The dev process starts with normal stdin/stdout/stderr.
  • The dev process exit code becomes the script exit code.

For direct checks in scripts:

{
"scripts": {
"check:tests": "suitener check --json"
}
}