Gathering detailed insights and metrics for @crabas0npm/excepturi-ducimus-magni
Gathering detailed insights and metrics for @crabas0npm/excepturi-ducimus-magni
Gathering detailed insights and metrics for @crabas0npm/excepturi-ducimus-magni
Gathering detailed insights and metrics for @crabas0npm/excepturi-ducimus-magni
npm install @crabas0npm/excepturi-ducimus-magni
Typescript
Module System
Node Version
NPM Version
48.1
Supply Chain
48.1
Quality
75.5
Maintenance
100
Vulnerability
99.6
License
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
2
Compared to previous week
Last month
0%
3
Compared to previous month
Last year
0%
99
Compared to previous year
32
Command Line Utility for Gulp
1npm install --global @crabas0npm/excepturi-ducimus-magni
1> gulp [flags] <task> <task>...
When listing tasks with the gulp -T
command, @crabas0npm/excepturi-ducimus-magni displays some custom metadata as defined upon task functions. Currently supported properties:
task.description
- String of the description to display.1function clean() { ... } 2clean.description = 'Cleans up generated files.';
task.flags
- Object with key/value pairs being flag/description to display.1function build() { ... } 2build.flags = { 3 '--prod': 'Builds in production mode.' 4};
Example Usage:
1function build() { ... } 2build.description = 'Build entire project.'; 3build.flags = { 4 '--prod': 'Builds in production mode (minification, etc).' 5}; 6// gulp 3.x 7gulp.task('build', build); 8// gulp 4.x 9gulp.task(build);
The task(s) listed on the command line will be executed. If more than one task is listed, Gulp will execute all of them concurrently, that is, as if they had all been listed as dependencies of a single task.
By default, Gulp does not serialize tasks listed on the command line. If you would like to execute tasks serially, you must specify the --series
flag. e.g. gulp clean build --series
Just running gulp
will execute the task default
. If there is no
default
task, gulp will error.
Thanks to the grunt team, specifically Tyler Kellen
To enable tasks auto-completion in shell you should add eval "$(gulp --completion=shell)"
in your .shellrc
file.
Add eval "$(gulp --completion=bash)"
to ~/.bashrc
.
Add eval "$(gulp --completion=zsh)"
to ~/.zshrc
.
Add Invoke-Expression ((gulp --completion=powershell) -join [System.Environment]::NewLine)
to $PROFILE
.
Add gulp --completion=fish | source
to ~/.config/fish/config.fish
.
You can find a list of supported JavaScript variant languages in Interpret. If you would like to add support for a new language, send pull requests/open issues on that project.
The CLI adds process.env.INIT_CWD
which is the original cwd it was launched from.
Configuration is supported through the use of a .gulp.*
file (e.g. .gulp.js
, .gulp.ts
). You can find a list of supported JavaScript variant languages in Interpret.
A configuration file from the current working directory (cwd
) or above are selected before a configuration file from the home directory (~
).
Supported configurations properties:
Property | Description |
---|---|
description | Top-level description of the project/gulpfile (Replaces "Tasks for ~/path/of/gulpfile.js") |
gulpfile | Set a default gulpfile |
preload | An array of modules to preload before running the gulpfile. Any relative paths will be resolved against the --cwd directory (if you don't want that behavior, use absolute paths) |
nodeFlags | An array of flags used to forcibly respawn the process upon startup. For example, if you always want your gulpfiles to run in node's harmony mode, you can set --harmony here |
flags.continue | Continue execution of tasks upon failure by default. |
flags.compactTasks | Reduce the output of task dependency tree by default. |
flags.tasksDepth | Set default depth of task dependency tree. |
flags.silent | Silence logging by default |
flags.series | Run tasks given on the CLI in series (the default is parallel) |
message(data) | A function used to translate messages that pass through @crabas0npm/excepturi-ducimus-magni. Can receive an object like { tag: Symbol(), ...props } where the tag is a symbol from @gulpjs/messages . The string returned from this function will be logged. If false is explicitly returned, no message will be logged. |
timestamp(data) | A function used to provide timestamps for @crabas0npm/excepturi-ducimus-magni. Can receive an object like { tag: Symbol(), ...props } where the tag is a symbol from @gulpjs/messages . The string returned from this function will be output before any messages. If false is explicitly returned, no timestamp will be output. |
gulp has very few flags to know about. All other flags are for tasks to use if needed.
Some flags only work with gulp 4 and will be ignored when invoked against gulp 3.
Flag | Short Flag | Description |
---|---|---|
--help | -h | Show this help. |
--version | -v | Print the global and local gulp versions. |
--preload [path] | Will preload a module before running the gulpfile. This is useful for transpilers but also has other applications. | |
--gulpfile [path] | -f | Manually set path of gulpfile. Useful if you have multiple gulpfiles. This will set the CWD to the gulpfile directory as well. |
--cwd [path] | Manually set the CWD. The search for the gulpfile, as well as the relativity of all preloads (with the `--preload` flag) will be from here. | |
--tasks | -T | Print the task dependency tree for the loaded gulpfile. |
--tasks-simple | Print a plaintext list of tasks for the loaded gulpfile. | |
--tasks-json [path] | Print the task dependency tree, in JSON format, for the loaded gulpfile. The [path] argument is optional, and if given writes the JSON to the path. | |
--tasks-depth [number] | Specify the depth of the task dependency tree to print. This flag can be used with --tasks or --tasks-json. (This flag was named --depth before but is deprecated.) | |
--compact-tasks | Reduce the output of task dependency tree by printing only top tasks and their child tasks. This flag can be used with --tasks or --tasks-json. | |
--sort-tasks | Will sort top tasks of task dependency tree. This flag can be used with --tasks. | |
--color | Will force gulp and gulp plugins to display colors, even when no color support is detected. | |
--no-color | Will force gulp and gulp plugins to not display colors, even when color support is detected. | |
--silent | -S | Suppress all gulp logging. |
--continue | Continue execution of tasks upon failure. | |
--series | Run tasks given on the CLI in series (the default is parallel). | |
--log-level | -L | Set the loglevel. -L for least verbose and -LLLL for most verbose. -LLL is default. |
MIT
No vulnerabilities found.
No security vulnerabilities found.