gulp-if - Conditionally run a task

  •        10

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.

https://github.com/robrich/gulp-if

Dependencies:

gulp-match : ^1.0.3
ternary-stream : ^2.0.1
through2 : ^2.0.1

Tags
Implementation
License
Platform

   




Related Projects

gulp-clean-css - Minify css with clean-css.

  •    Javascript

This is just a simple gulp plugin, which means it's nothing more than a thin wrapper around clean-css. If it looks like you are having CSS related issues, please contact clean-css. Only create a new issue if it looks like you're having a problem with the plugin itself. See the CleanCSS options.

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-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-useref - Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets

  •    Javascript

Inspired by the grunt plugin grunt-useref. It can handle file concatenation but not minification. Files are then passed down the stream. For minification of assets or other modifications, use gulp-if to conditionally handle specific types of assets. Changes under the hood have made the code more efficient and simplified the API. Since the API has changed, please observe the usage examples below.

gulp-svgmin - Minify SVG files with gulp.

  •    Javascript

Minify SVG with SVGO. If you have any difficulties with the output of this plugin, please use the SVGO tracker.


gulp-changed - Only pass through changed files

  •    Javascript

No more wasting precious time on processing unchanged files.By default it's only able to detect whether files in the stream changed. If you require something more advanced like knowing if imports/dependencies changed, create a custom comparator, or use another plugin.

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.

gulp-svgstore - Combine svg files into one with symbol elements

  •    Javascript

Combine svg files into one with <symbol> elements. Read more about this in CSS Tricks article. If you need similar plugin for grunt, I encourage you to check grunt-svgstore.

gulp-cssnano - Minify CSS with cssnano.

  •    Javascript

Minify CSS with cssnano. Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

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-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-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.

generator-react-gulp-browserify - A Yeoman Generator for facebook's React library

  •    Javascript

Yeoman generator for facebook's React library - Integrate with gulp and browserify. If you chose to use sass, you'll need to install it with gem install sass. If you find your css build results are empty, update your sass gem.

SpinKit - A collection of loading indicators animated with CSS

  •    CSS

Simple loading spinners animated with CSS. See demo. SpinKit uses hardware accelerated (translate and opacity) CSS animations to create smooth and easily customizable animations. You currently need to use an autoprefixer if you want to support all browsers. If you're compiling your SCSS with gulp you can use gulp-autoprefixer, and grunt-autoprefixer if you use grunt.

gulp-rename - Rename files easily

  •    Javascript

gulp-rename is a gulp plugin to rename files easily. gulp-rename provides simple file renaming methods.

gulp-typescript - A TypeScript compiler for gulp with incremental compilation support.

  •    Javascript

A gulp plugin for handling TypeScript compilation workflow. The plugin exposes TypeScript's compiler options to gulp using TypeScript API. Updating from version 2? See the breaking changes in version 3.