References
Function Summary
Static Public Function Summary | ||
public |
Runs npm-scripts which are matched with given patterns. |
Static Private Function Summary | ||
private |
The main process of |
|
private |
matchTasks(taskList: string[], patterns: string[]): string[] Enumerates tasks which matches with given patterns. |
|
private |
Parses arguments, then run specified npm-scripts. |
|
private |
Print a help text. |
|
private |
printVersion(output: stream.Writable): Promise Print a version text. |
|
private |
Reads |
|
private |
runTask(task: string, stdin: stream.Readable | null, stdout: stream.Writable | null, stderr: stream.Writable | null, prefixOptions: string[]): Promise Run a npm-script of a given name. |
|
private |
runTasksInParallel(tasks: string, stdin: stream.Readable | null, stdout: stream.Writable | null, stderr: stream.Writable | null, prefixOptions: string[]): Promise Run npm-scripts of given names in parallel. |
|
private |
runTasksInSequencial(tasks: string, stdin: stream.Readable | null, stdout: stream.Writable | null, stderr: stream.Writable | null, prefixOptions: string[]): Promise Run npm-scripts of given names in sequencial. |
|
private |
Launches a new process with the given command. |
|
private |
Launches a new process with the given command. |
|
private |
Gets a file path of |