Common APIs for Gulp

Source: Internet
Author: User
Tags node server

What is Gulp?

http://gulpjs.com/believe you will understand!

What are the advantages compared to the famous build tool grunt?

    1. Easy to use, code better than configuration
    2. Efficient, no excessive intermediate files, reduced I/O pressure
    3. Easy to learn, very little API, you can learn gulp in a very short period of events
Those common gulp plug-ins, run-sequence

Links: https://www.npmjs.com/package/run-sequence

role : Let gulp tasks, can be independent of each other, to remove dependencies between tasks, enhance task reuse

Recommendation Index : ★★★★★

No.2, Browser-sync

Links: http://www.browsersync.io/

function : Static file server, also support automatic browser refresh

Recommendation Index : ★★★★★

No.3, Del

Links: Https://www.npmjs.com/package/del

role : Delete files/folders

Recommendation Index : ★★★★★

No.4, Gulp-coffee

Links: Https://github.com/wearefractal/gulp-coffee

function : Compile coffee code for JS code, use Coffeescript necessary

Recommendation Index : ★★★★

No.5, Coffee-script

Links: Https://www.npmjs.com/package/coffee-script

function : gulpfile default with JS suffix, if you want to use Gulpfile.coffee to write, then need this module

Recommended index : ★

No.6, Gulp-nodemon

Links: Https://www.npmjs.com/package/gulp-nodemon

function : Automatically start/Restart your node program, develop node server program Prerequisites

Recommendation Index : ★★★★★

No.7, Yargs

Links: Https://www.npmjs.com/package/yargs

function : Used to get startup parameters, for different parameters, switch task execution process needs

Recommended index : ★

No.8, Gulp-util

Links: Https://www.npmjs.com/package/gulp-util

role : Gulp Common Tool Library

Recommendation Index : ★★★★★

No.9, Gulp-uglify

Links: https://www.npmjs.com/package/gulp-uglify

function : Compress js file by Uglifyjs

Recommendation Index : ★★★★

No.9, Gulp-concat

Links: Https://www.npmjs.com/package/gulp-concat

function : Merge JS

Recommendation Index : ★★★★

No.10, Gulp-sourcemaps

Links: https://www.npmjs.com/package/gulp-sourcemaps

function : When processing js, generate Sourcemap

Recommendation Index : ★★★★

No.11, gulp-less

Links: https://www.npmjs.com/package/gulp-less

role : preprocessing less as CSS

Recommendation Index : ★★★★

No.12, Gulp-sass

Links: Https://www.npmjs.com/package/gulp-sass

role : preprocess sass to CSS

Recommendation Index : ★★★★

No.13, Gulp-autoprefixer

Links: https://www.npmjs.com/package/gulp-autoprefixer

role : Use Autoprefixer to complement browser-compatible CSS.

Recommendation Index : ★★★★

No.14, Gulp-minify-css

Links: https://www.npmjs.com/package/gulp-minify-css

role : Compress CSS.

Recommendation Index : ★★★★

No.15, Connect-history-api-fallback

Links: Https://www.npmjs.com/package/connect-history-api-fallback

role : The development of angular applications must be used to support the HTML5 history API.

Recommended index : ★

Common APIs for Gulp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.