A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://gulpjs.com/docs/en/getting-started/quick-start below:

Quick Start | gulp.js

Quick Start

If you've previously installed gulp globally, run npm rm --global gulp before following these instructions. For more information, read this Sip.

Check for node, npm, and npx

If they are not installed, follow the instructions here.

Install the gulp command line utility
npm install --global gulp-cli
Create a project directory and navigate into it Create a package.json file in your project directory

This will guide you through giving your project a name, version, description, etc.

Install the gulp package in your devDependencies
npm install --save-dev gulp
Verify your gulp versions

Ensure the output matches the screenshot below or you might need to restart the steps in this guide.

Create a gulpfile

Using your text editor, create a file named gulpfile.js in your project root with these contents:

function defaultTask(cb) {

cb();
}

exports.default = defaultTask
Test it

Run the gulp command in your project directory:

To run multiple tasks, you can use gulp <task> <othertask>.

Result

The default task will run and do nothing.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4