0.1.6 • Published 4 days ago

@faulpeltz/schaufel v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 days 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.6

4 days ago

0.1.5

1 month ago

0.1.4

2 months ago

0.1.3

2 months ago

0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago