gulp-run - Pipe to shell commands in gulp

  •        17

Use shell commands in your gulp or vinyl pipeline. Many command line interfaces are built around the idea of piping. Let's take advantage of that in our Gulp pipeline! To use gulp-run, simply tell it the command to process your files; gulp-run accepts any command you could write into your shell, including I/O redirection like python < baz.py | cat foo.txt - bar.txt. Additionally, node_modules/.bin is included on the path, so you can call programs supplied by your installed packages. Supports Unix and Windows.

https://github.com/MrBoolean/gulp-run

Dependencies:

gulp-util : ^3.0.0
lodash.defaults : ^4.0.1
lodash.template : ^4.0.2
vinyl : ^0.4.6

Tags
Implementation
License
Platform

   




Related Projects

vinyl-source-stream - :cyclone: Use conventional text streams at the start of your gulp or vinyl pipelines

  •    Javascript

Use conventional text streams at the start of your gulp or vinyl pipelines, making for nicer interoperability with the existing npm stream ecosystem.Take, for example, browserify. There are the gulp-browserify and gulpify plugins, which you can use in combination with gulp to get browserify working in your build. Unfortunately, these plugins come with additional overhead: an extra GitHub repository, npm module, maintainer, tests, semantics, etc. It's much simpler in this case to use the original module directly where you can, which is what vinyl-source-stream handles for you.

gulp-if - Conditionally run a task

  •    Javascript

A ternary gulp plugin: conditionally control the flow of vinyl objects. Note: Badly behaved plugins can often get worse when used with gulp-if. Typically the fix is not in gulp-if.

webpack-stream - :tropical_drink: Run webpack through a stream interface

  •    Javascript

Run webpack as a stream to conveniently integrate with gulp. The above will compile src/entry.js into assets with webpack into dist/ with the output filename of [hash].js (webpack generated hash of the build).

gulp-rev-replace - Rewrite occurences of filenames which have been renamed by gulp-rev

  •    Javascript

Pipe through a stream which has both the files you want to be updated, as well as the files which have been renamed. For example, we can use gulp-useref to concatenate assets in an index.html, and then use gulp-rev and gulp-rev-replace to cache-bust them.


gulp-awspublish - gulp plugin to publish files to amazon s3

  •    Javascript

Note: If you follow the aws-sdk suggestions for providing your credentials you don't need to pass them in to create the publisher. create a through stream, that gzip file and add Content-Encoding header.

gulp-filter - Filter files in a vinyl stream

  •    Javascript

Enables you to work on a subset of the original files by filtering them using glob patterns. When you're done and want all the original files back you just use the restore stream.By combining and restoring different filters you can process different sets of files with a single pipeline.

vinyl-ftp - Blazing fast vinyl adapter for FTP

  •    Javascript

Blazing fast vinyl adapter for FTP. Supports parallel transfers, conditional transfers, buffered or streamed files, and more. Often performs better than your favorite desktop FTP client. You can override parallel and reload per stream in their options.

gulp-webserver - Streaming gulp plugin to run a local webserver with LiveReload

  •    Javascript

The gulp.src('root') parameter is the root directory of the webserver. Multiple directories are possible. Solution: Set 0.0.0.0 as host option.

makeself - A self-extracting archiving tool for Unix systems, in 100% shell script.

  •    Shell

makeself.sh is a small shell script that generates a self-extractable compressed tar archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is. The archive will then uncompress itself to a temporary directory and an optional arbitrary command will be executed (for example an installation script). This is pretty similar to archives generated with WinZip Self-Extractor in the Windows world. Makeself archives also include checksums for integrity self-validation (CRC and/or MD5/SHA256 checksums). The makeself.sh script itself is used only to create the archives from a directory of files. The resultant archive is actually a compressed (using gzip, bzip2, or compress) TAR archive, with a small shell script stub at the beginning. This small stub performs all the steps of extracting the files, running the embedded command, and removing the temporary files when done. All the user has to do to install the software contained in such an archive is to "run" the archive, i.e sh nice-software.run. I recommend using the ".run" (which was introduced by some Makeself archives released by Loki Software) or ".sh" suffix for such archives not to confuse the users, so that they will know they are actually shell scripts (with quite a lot of binary data attached to them though!).

gulp-watch - Watch, that actually is an endless stream

  •    Javascript

Watch, that actually is an endless stream

gulp-responsive - gulp-responsive generates images at different sizes

  •    Javascript

gulp-responsive depends on sharp. Sharp is one of the fastest Node.js modules for resizing JPEG, PNG, WebP and TIFF images. If you are using Mac OS then before installing gulp-responsive you should install the libvips library. Further information and instructions can be found in the sharp installation guide.

gulp-cli - CLI for gulp

  •    Javascript

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. Just running gulp will execute the task default. If there is no default task, gulp will error.

run-sequence - Run a series of dependent gulp tasks in order

  •    Javascript

Runs a sequence of gulp tasks in the specified order. This function is designed to solve the situation where you have defined run-order, but choose not to or cannot use dependencies. If you are hiring developers, you can support this project and future open source work by checking out our company, Qualified.io.

gulp-bump - Bump any version in any file which supports semver with gulp (gulpjs.com)

  •    Javascript

gulp-bump v2 supports Any valid semver in any filetype. ####You can view more examples in the example folder.

gulp-sass - SASS plugin for gulp

  •    Javascript

Sass plugin for Gulp. Before filing an issue, please make sure you have Updated to the latest Gulp Sass and have gone through our Common Issues and Their Fixes section.