Gulp 9
Gulp JSCS JavaScript Style Linter Task
JSCS is a Linter for JavaScript code style. JSCS contains 150 validation rules for javascript style linting. These 150 rules follows popular style guides from Jquery,Airbnb and Google etc. JSCS also provides presets like Jquery,Airbnb and Google. Gulp provides gulp-jscs module for creating task to run JSCS to lint the javascript code. In this demo,”We […]
Create Your Own Gulp Plugin
A Gulp plugin takes input a vinyl file object and returns a vinyl file object. Vinyl means Virtual file format and It represents metadata object that describes a file.For example path and content are attributes on a Vinyl object. In this Demo, “We will learn to develop a custom Gulp plugin”. We will be developing […]
Live Reload Using Gulp
In my previous post we have learnt about JavaScript minification using Gulp-Uglify plugin. In this demo, “We will learn about Live Reload using Gulp For refreshing browser automatically for a change in CSS or JS”. LiveReload monitors changes in the file system and process the update and refresh the browser. The gulp-livereload is the gulp […]
Gulp Task For JavaScript Minification
In my previous post we have developed a task to convert SCSS files to CSS using gulp-sass plugin. In this Demo, “We will learn to create a Gulp task for minifying javascript file using gulp-uglify plugin”. The gulp-uglify plugin is based on UglifyJS2 library.UglifyJS is a JavaScript parser, minifier, compressor or beautifier toolkit. The gulp-uglify […]