@xarc/run
Version:
concurrent or serial run npm scripts, javascript tasks, and more
11 lines (8 loc) • 321 B
JavaScript
;
const myPkg = require("../package.json");
module.exports = {
taskFile: "xrun-tasks.js",
taskFileExt: ["js", "cjs", "ts", "mts", "mjs"],
search: ["xrun-tasks", "xrun", "xclap.", "clapfile.", "clap.", "gulpfile."],
getPkgOpt: pkg => ["xclap", "xrun", myPkg.name].find(f => pkg.hasOwnProperty(f))
};