最有用的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 ...
随机推荐
- 让textbox紧贴IME
将textbox放与页面最下方,并取消ApplicationBar. IE的ApplicationBar里放个了textbox,效果很炫,最重要用户体验很好. 于是也想对自己textbox做这样的设计 ...
- WCF小实例以及三种宿主
WCF小实例以及三种宿主 最近一直在学习WCF相关知识,下面将通过一个小实例对所学的知识进行简单的回顾:本实例是一个简单三层操作数据库,并且也简单实现的三种宿主(控制台宿主,IIS宿主以及Window ...
- 迷你MVVM框架 avalonjs 0.85发布
迷你MVVM框架 avalonjs 0.85发布 本版本对循环绑定做了巨大改进,感谢@soom, @limodou, @ztz, @Gaubee 提供的大量测试文件. fix scanNodes, 在 ...
- jquery ready方法实现原理 内部原理
jquery ready方法实现原理 内部原理 今天闲来无事研究研究jquery.ready()的内部实现,看JQ的源码一头雾水,由于自己很菜了,于是翻了翻牛人的播客,讲述详细,收获颇多. 先普及一下 ...
- MongoDB安装心得
本人纯前端一枚,对于数据库安装各种纠结,出了不少错误,一一列出,方便遇到同样问题的人给以参考,也加深一下自己印象. 故事开始了...Node.js在前端界比较火,由于我也是小小前端,跟随大潮流开始步入 ...
- 昨天CSAPP上的疑问的解答
昨天CSAPP上的疑问的解答 今天整明白了. CSAPP英文版第2版,826页,或者中文版第2版546页,有这么一段.关于多级页表的. "But if we had a 32-bit add ...
- 论移动端Hybid开发
以下内容code地址:https://github.com/wytings/Hybrid 背景:公司业务的发展和开发需求升级,我们需要Hybrid了.市面上有很多开源的Hybrid框架给我们直接使用, ...
- C#开发学习——存储过程
举个例子: 带输入参数的存储过程计算班级中英语和数学不及格的人数 if(exists(select * from sys.objects where name='usp_GetFailCou ...
- c语言中细节注意(初级)
/* 编写如下函数,不使用下标运算符,返回字符串str中字符c的个数 (若不存在则为0). */ #include <stdio.h> int str_chnum(const char * ...
- (十一)if...else&for循环&while循环
----------------------------------if else------------------------------1.最基本的if语句:if name =="Al ...