B
B
badmet2016-06-30 10:30:09
gulp.js
badmet, 2016-06-30 10:30:09

What's the easiest way to pull dependencies with Gulp?

Hello. The essence of the question is the following: what sequence of actions do I need to perform so that when creating (or copying an old) new folder structure, plugins (for example, autoprefixer, etc.) do not have to be installed each time with a new project. I.e. what do I need to do with package.json and its dependencies.
Unfortunately, understanding this is difficult for me.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rikcon, 2016-06-30
@Rikcon

Если я вас правильно понял то вам нужно за собой таскать папку node_modules.
Если не правильно понял то вам нужно прописать ваши зависимости в package.json, что бы не делать это вручную ставить зависимости нужно так npm i имя пакета -S

B
badmet, 2016-06-30
@badmet

@Rikcon
I.e. when copying package.json and gulpfile.js to a new project and running it in the gulp console, do my dependencies automatically pull up?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question