🤖 Tasks

Organize commands with Tasks

Cool Ways to use Tasks in Deno

deno.json
{
  "tasks": {
    "dev": "deno run --watch main.ts", // Watch a task
    "build": "deno run npm:build", // Use an NPM script
    "all": "first ; second", // Run first and second, even if first task fails
    "sequential": "first && second", // Run only if first task succeeds
    "backup": "first || second", // Run only if first task fails
    "async": "first & second" // Run both concurrently
  },
}

Questions? Let's chat

Open Discord