0.1.11 • Published 10 months ago

@faulpeltz/schaufel v0.1.11

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Schaufel

Minimalist Task Runner for JS/TS projects

Overview

  • Define tasks and their dependencies in JSON
  • Tasks are run concurrenty in order to satisfy dependencies
  • Separate log files for tasks to prevent clutter

Example

Example for a simple schaufel.json file.

{
    "project": "MyProject",
    "logDir": "./log",
    "logAlways": true,
    "tasks": {
        "tsc": {
            "title": "type check",
            "type": "npx",
            "file": "tsc",
            "args": ["--noEmit"],
            "timeout": 30
        },
        "lint": {
            "title": "eslint",
            "type": "npx",
            "file": "eslint",
            "args": ["src/", "--ext", ".ts"],
            "timeout": 60,
            "depends": ["tsc"]
        },
        "test": {
            "title": "unit tests",
            "type": "npx",
            "file": "vitest",
            "args": "run",
            "timeout": 60,
            "depends": ["tsc"]
        }
    }
}

Running

To get a list of available tasks:

sch

To run a task and it's dependencies:

sch your-task

License

MIT

Licenses

For bundled package license information see dist/LICENSES.txt

0.1.10

10 months ago

0.1.11

10 months ago

0.1.8

12 months ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago