A
A
Alexander_Sokolov2017-07-11 12:43:35
gulp.js
Alexander_Sokolov, 2017-07-11 12:43:35

Only local gulp?

Please tell me, is it possible to use only local gulp without installing it globally?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Velichko, 2017-07-15
@Zoxon

You can ./node_modules/.bin/gulp It is most
convenient to add it to package.json in the scripts section

"gulp": "./node_modules/.bin/gulp",
"dev": "npm run gulp dev"

A
Alexey Strukov, 2017-07-11
@pm_wanderer

It seems like no.
The global is needed to run it in the console, such as gulp watch, run or build

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question