{

Gulp javascript build automation tool overview


What is a gulp build tool

Gulpjs is a javascript open-source framework for automating the build tool for javascript applications written in Node.js, angular, and other javascript frameworks. Gulp uses pipe stream concepts to improve the performance of the tasks.

Gulp features

Gulp is plugin-based architecture that provides different plugins for doing the tasks
GuplJS is a command-line JavaScript task runner which does the below collection of tasks.
For each task, we can configure the gulp plugin

  • · Minification of javascript files to remove spaces
  • · Concatenation
  • · Copying files
  • · written in javascript
  • · Javascript compilation

GulpJS supports all browsers and all operating systems.

How to install the gulp JavaScript tool

To install gulp JS too, Node js need to be installed.

npm install -g gulp

npm is a node package manager, -g option indicates to install the package available globally
npm command retrieves the gulp package from the node registry repository and installs it locally to your system, so that gulp can be accessed using the command line.
Use the below command to check whether gulp is installed or not.

Gulp –v

How to add gulp to your javascript application

And also we can use –the save-dev option to the npm command to install the dependencies.

npm install –save-dev gulp

the above command adds the dependency to package.json

THE BEST NEWSLETTER ANYWHERE
Join 6,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.

Similar Posts
Subscribe
You'll get a notification every time a post gets published here.