H
H
hellcaster2018-08-20 11:06:50
Web development
hellcaster, 2018-08-20 11:06:50

How to port gulp to different projects?

I have such a problem. I just finished a project. I want to start a new project. For it I need my gulp. If I just transfer it to another project, then I will need to write npm i for each plugin (somehow you won’t call it automation anymore). If you transfer the package.json file with all devDependencies, then you need to change the name, description, etc. in the package.json file. and it seems to me that this is somehow not correct. Is there any solution?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Egorov, 2018-08-20
@web_Developer_Victor

Do you have any pattern. For convenience, upload it to github and that's it.
Why change the package.json name and description? In my project, the name simply contains Vue-template and the list of technologies in the description, so that it would be convenient for others.
Installing a template in multiple commands ->

git clone https://github.com/name/project
npm i
npm run serve

And everyone, work.

O
Olga Veter, 2018-08-20
@vetero4eg

npm i for each plugin

why for everyone? just npm i and everything will be installed at once.

V
Vyach Gor, 2018-08-20
@sharnirio

Keep the latest version of the gulp template in the git repository and clone from it for a new project, use a bash script to automate routine actions for deploying a new project, more details can be found here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question