M
M
Maxim2016-11-16 21:48:37
gulp.js
Maxim, 2016-11-16 21:48:37

What do you need to use other people's gulp builds?

Hello.
I apologize right away for such a strange and perhaps not entirely relevant question, but still I ask you to help me figure it out a little, since Gulp has recently begun to look closely.
I decided that for now I will use ready-made "bundles" from people I know on the Internet, and then when I understand the whole "kitchen", perhaps I will make my own system of dependencies that I already understand (I will call it that).
Question.
What do you need to use gulp - builds from other users, for example from GitHub?
I mean what exactly to download (to transfer from folder to folder) and prescribe.
I saw a comment from youtube:
4b53f597a8404292a4db53e6774256e8.png
Is this friend right?
The same applies to the question when you create a new project (in a separate directory), and at the same time you want to use your already developed and time-tested gulp - a project with all dependencies. In other words, the sequence of actions when creating a new project, while using your own already developed gulp-pack.
I would be very grateful for any advice and help, Earthlings :)
PS Do not be angry that I ask ..
I dug into many projects, read articles.
But I think that live comments will really help me.
So do not think that I just came to the ready-made type and wrote a question without reading anything before. ;)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2016-11-17
@Aspirin77

In other words, the sequence of actions when creating a new project, while using your own already developed gulp-pack.

the accumulated pack is literally two files (main) gulpfile.js and package.json. We take them to a new project, npm i and let's go. Sometimes gallp tasks are written in separate files, especially when there are a lot of them, in which case you need to drag the entire folder with such files into the new project. Well, optionally, the rest of your files with some developments.
What do you need to use gulp - builds from other users, for example from GitHub?
I mean what exactly to download (to transfer from folder to folder) and prescribe.

Why manually download something?
git clone https://github.com/vendorName/packageName.git .

H
HamSter, 2016-11-16
@HamSter007

Download the entire repository (check for package.json),
Run:

npm install
bower install
gulp

Usually, this is how they usually write instructions for installing / starting the project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question