最有用的Gulp插件汇总
HTML&CSS
autoprefixer - parse CSS and add vendor prefixes to rules by Can I Use.
gulp-browser-sync - keep multiple browsers & devices in sync when building websites.
gulp-useref - parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
gulp-email-design - a workflow for designing and testing HTML email templates.
gulp-uncss - remove unused CSS from your projects.
gulp-csso - very cool CSS minificator. In addition, there are many CSS optimizers andbenchmark tests (GitHub) for them. But recently I saw most powerful Shorthand utility without Gulp, which does folowing:
a {
font-family: Arial;
font-style: italic;
font-size: 14px;
line-height: 18px;
font-weight: bold;
background-image: url('example.png');
background-color: red;
background-size: cover;
background-repeat: no-repeat;
} => a {
font: italic bold 14px/18px Arial;
background: red url('example.png') no-repeat / cover;
}
gulp-htmlmin - neat HTML minificator.
gulp-csscomb - refines the structure of your CSS.
gulp-csslint - CSS linter.
gulp-htmlhint - HTML validator.
gulp-processhtml - Process html files at build time to modify them as you wish.
JavaScript
gulp-autopolyfiller - precise polyfills. This is like Autoprefixer, but for JavaScript polyfills.
gulp-babel - transpiler for writing next generation JavaScript.
gulp-jsfmt - for formatting, searching, and rewriting JavaScript.
gulp-jscs - for checking JavaScript Code Style.
gulp-modernizr - build out a lean, mean Modernizr machine.
gulp-express — start (and supervise) an Express.js web server using, works well with socket.io
gulp-requirejs and gulp-browserify - optimize the work with RequireJS and Browserify respectively.
gulp-plato - generate static analysis reports.
gulp-complexity - evaluates code maintainability using Halstead and Cyclomatic metrics.
fixmyjs - automatically fix silly lint errors with help of JSHint (gulp-jshint).
gulp-jscpd — copy/paste detector for programming source code.
gulp-buddy.js - magic number detection for javascript.
gulp-jsonlint - JSON validator.
gulp-uglify - JavaScript compressor.
gulp-concat - concatenate files.
Unit Tests
Graphics
gulpicon - mystical CSS icon solution.
gulp-iconfont - SVG to webfont converter.
gulp-responsive - produce images at different sizes for responsive websites.
gulp-sharp - fastest module for work JPEG, PNG, WebP and TIFF images.
gulp-svgstore - merge SVGs from a folder.
gulp-imacss - application and library that transforms image files to data URIs.
gulp-imagemin и gulp-tinypng or fimage compression.
gulp-spritesmith - converting a set of images into a spritesheet and corresponding CSS variables.
Others
gulp-grunt - able to run Grunt tasks from Gulp.
gulp-watch — run tasks whenever watched files change.
gulp-notify - automatic error messages in system notifications center when Gulp tasks fail.
gulp-git - able to use Git commands.
gulp-jsdoc - generate JavaScript documentation by running JSDoc3.
gulp-rev - static file asset revisioning through content hashing.
gulp-bump - increments versions in package JSON and gulp-update, which automatically updates packages.
gulp-bower-files - inject Bower packages.
gulp-removelogs - remove console logging statements.
gulp-preprocess - preprocess files based off environment configuration.
gulp-duration — displays the elapsed execution time of Gulp tasks.
gulp-changed and gulp-newer — run Gulp tasks with only those source files modified since the last successful run.
gulp-connect - simple static web server.
gulp-shell - run Shell commands.
gulp-ssh - provides the ability to connect via SSH and SFTP.
gulp-zip - compress files and folders..
gulp-clean and gulp-copy - respectively remove and copy sources.
gulp-replace - Search and replace strings in text files.
gulp-filesize - displays sizes of files in a readable format.
gulp-util - utilities for developing Gulp plugins.
Compilers
- gulp-less - LESS in CSS.
- gulp-sass - SASS/SCSS in СSS.
- gulp-compass - SASS with Compass in CSS.
- gulp-stylus - Stylus in CSS.
- gulp-coffee - CoffeeScript in JavaScript.
- gulp-typescript - TypeScript in JavaScript.
- gulp-jade - Jade in HTML.
- gulp-handlebars - Handlebars templates in JST.
- gulp-jst - Underscore templates in JST.
- gulp-react - Facebook React's JSX templates in JST.
- gulp-nunjucks - Nunjucks templates in JST.
- gulp-dustjs - Dust templates in JST.
- gulp-angular-templatecache - AngularJS templates in JST.
Finally
- psi - PageSpeed Insights with reporting.
- tmi - TMI (Too Many Images) - discover your image weight on the web.
- ngrok - Introspected tunnels to localhost.
- pageres - responsive website screenshots.
- matchdep - filter npm module dependencies.
- Maybe some automatization methods you want to use directly in the editor, so look at the The Best Plugins for Sublime Text.
https://github.com/Pestov/essential-gulp-plugins
最有用的Gulp插件汇总的更多相关文章
- 常用 Gulp 插件汇总 —— 基于 Gulp 的前端集成解决方案(三)
前两篇文章讨论了 Gulp 的安装部署及基本概念,借助于 Gulp 强大的 插件生态 可以完成很多常见的和不常见的任务.本文主要汇总常用的 Gulp 插件及其基本使用,需要读者对 Gulp 有一个基本 ...
- Gulp插件汇总
HTML&CSS autoprefixer - parse CSS and add vendor prefixes to rules by Can I Use. gulp-browser-sy ...
- Android Studio 优秀插件汇总
第一部分 插件的介绍 Google 在2013年5月的I/O开发者大会推出了基于IntelliJ IDEA java ide上的Android Studio.AndroidStudio是一个功能齐全的 ...
- 拿走不谢!22 个 Android Studio 优秀插件汇总
Google 在2013年5月的I/O开发者大会推出了基于IntelliJ IDEA java ide上的Android Studio.AndroidStudio是一个功能齐全的开发工具,还提供了第三 ...
- Elasticsearch6.x和7.x版本常用插件汇总
elasticsearch插件汇总 基于es 7.3版本试用. 一.安全插件 1.x-pack a.介绍 包括安全(x-pack-security),监视(x-pack-watcher),警报(x-p ...
- 分享10款非常有用的 Ajax 插件
这篇文章与大家分享的是10款非常有用的 Ajax 插件,有用于图片的,用于分页的,还有用于导航的.这些作者的想法特别新颖,希望你能从中找到自己需要的插件. 1. AJAX-ZOOM 非常强大的一款插件 ...
- 分享20款移动开发中很有用的 jQuery 插件
今天,很显然每个网站都需要有一个移动优化的界面以提高移动用户的使用体验.在开发任何移动项目时,要尽可能保持每一种资源尺寸都尽可能的小,以给最终用户提供一个好的体验是非常重要的.在这篇文章中我们已经编制 ...
- gulp 插件
原文链接:http://www.mamicode.com/info-detail-517085.html gulp是什么? http://gulpjs.com/ 相信你会明白的! 与著名的构建工具gr ...
- gulp插件(gulp-jmbuild),用于WEB前端构建
源码地址:https://github.com/jiamao/gulp-jmbuild https://github.com/jiamao/gulp-jmbuild gulp-jmbuild gulp ...
随机推荐
- HTML5学习+javascript学习:打飞机游戏简介以及Model层
本着好记性不如烂博客以及分享成功的喜悦和分享失败的苦楚,今天我来分享下一个练手项目:打飞机游戏~从小就自己想做游戏,可是一直没有机会.HTML5给了我们这个平台,这个平台可以有很多以前想都不敢想的东西 ...
- HTTP协议 HttpWebRequest和 Socket的一点总结
HTTP协议 HttpWebRequest和 Socket的一点总结 相信接触过网络开发的人对HTTP.HttpWebRequest.Socket这些东西都不陌生吧.它们之间的一些介绍和关系我这里都忽 ...
- opencv编程入门技巧
opencv编程入门技巧 最近在项目中负责图像处理模块的编程工作,主要分为两个板块,一是视频图像去雾,二是可视.红外图像融合.为了提升开发效率,遂开始学习并使用opencv图像类库,效果很好的说~因为 ...
- 改善C#公共程序类库质量的10种方法和工具
最近重构一套代码,运用以下几种方法,供参考. 1 公共方法尽可能的使用缓存 public static List<string> GetRegisteredCompany() { Str ...
- 12、Python-网络编程
1.套接字1.1 socket模块套接字是网络编程中的一个基本组件,一般包括服务器端套接字和客户端套接字. 创建服务器端过程如下: import socket s = socket.socket() ...
- android 工程里缺少 R.java 文件原因和解决方法
作为新手,学习android 的时候难免要导入一些示例,目的为了更加了解android各种API用法,顺便也可以学习下别人代码的写法. 可是导入android源码后,基本都有错误,R.java也不会自 ...
- HDU多校练习第一场4608——I_Number
题目:点击打开链接 水题一道,刚开始写了一发模拟,后来发现所谓的10^5是个length……果断加了个大数枚举,过了,今天换了个样式重写了个. 易于推出,两个数之间的最大差值为20. #include ...
- Run SPLAHS2 under SE mode on gem5在gem5的SE模式下,运行SPLASH2程序
1. 安装相关的gem5,可以参考以前的博客. 2. 下载splash2编译好的软件 首先从gem5的官网下载已经编译成alpha指令集的splash2.下载地址:http://www.gem5. ...
- 快速提高Android开发调试的使用技巧
留在这里备忘,同时如果对其他人有帮助,那就再好不过了. 1.过滤Android程序出现的异常和崩溃 adb logcat |grep --color=auto -E "System.err| ...
- 用原生VideoView进行全屏播放时的问题
之前参加了一个课程,里面有一节讲到了用视频作为启动界面.讲师用的是自定义VideoView,重写onMeasure方法,因为原生的VideoView在那情况下不能实现全屏播放.当时没有深入研究,现在补 ...