superuser-task-runner
Version: 
A powerful task runner designed to manage complex development workflows across both monorepo and single-project configurations. Built as a more flexible alternative to Turborepo with enhanced customization capabilities, this tool focuses on unique deploym
66 lines • 2.39 kB
JSON
{
    "tasks": {
        "i": {
            "command": "pnpm install"
        },
        "dev": {
            "command": "pnpm run dev"
        },
        "fromScratch": {
      "tasks": [
        "i",
        "db:all",
        "build",
        "dev"
      ]
    },
        "build": {
            "command": "pnpm run build"
        },
        "start": {
            "command": "pnpm start"
        },
        "test": {
            "command": "pnpm test"
        },
        "lint": {
            "command": "pnpm run lint"
        },
        "clean": {
            "command": "foreach ($path in @('.pnpm-cache','.pnpm-cache', 'node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
        },
        "config:eslint": {
            "command": "foreach ($path in @('node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
        },
        "config:tailwind": {
            "command": "foreach ($path in @('node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
        },
        "config:presets": {
            "command": "foreach ($path in @('node_modules', 'pnpm-lock.yaml', '.cache', 'public\\build', 'build')) { if (Test-Path $path) { Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue } }"
        },
        "i:shadCN": {
            "command": "pnpm dlx shadcn@latest init"
        },
        "i:component": {
            "command": "pnpm dlx shadcn@latest add"
        },
        "patch": {
            "command": "git add * && git commit -m \"Cleaning w/ push\" && git push && pnpm version patch && git push && git push --tags"
        },
        "push": {
            "command": "git add * && git commit -m \"Cleaning w/ push\" && git push"
        },
        "db:all": {
            "command": "pnpm run db:all"
        },
        "db:seed": {
            "command": "pnpm run db:seed"
        },
        "db:studio": {
            "command": "npx prisma studio"
        },
        "db:gen": {
            "command": "pnpm run db:gen"
        }
    }
}