The tool for deployment on the node

In General, the task: from a set of JS scripts, css and images need to assemble a new version of the library and to roll out it all.

As it should be:
Part 1. Build JS
1. There is a file "core", which should always be present
2. there are optional modules that can be assembled in any combination
Each module has its own dependencies, as described in the JSDoc @require my.Modulethat points to a file ./my/Module.js
3. You need to collect a set of js files all the combinations:
Valid for modules Alpha Beta:
0) core
1) core + Alpha
2) core + Beta
3) core + Alpha + Beta
4. To compile all the combinations of a tool of some kind. How exactly, still going to try, then you just need to be able to run the command

Part 2. Build version
Run bilder, indicating bearing type: major, minor, substitution of the existing (for fixed stocks) or normal build
Create a new version of the form minor.major.build depending on the type the new version number and the last
In the folder put a set isok, css files with run for the regular season to replace the paths to the images themselves pictures

Part 3. Roll-out
Next you need to upload a new version to a server to test well later in the fight, to scatter the files in the ACC. places

As the tool was selected Node.js the first part is already there, need to do the remaining two.

Prosherstiv the packages node, there were many tools for deployment but all have very different purposes and a lot of them.
Tell me are there any that will take 2 and part 3?

PS, for part 3 perhaps the best is roco
October 8th 19 at 01:16
2 answers
October 8th 19 at 01:18
Maven?
Noda is not the same... - Ebba_Ferry commented on October 8th 19 at 01:21
What prevents to use maven with Noda?
We have used maven for php project rollout for 6 different environments on a remote server for each environment its own settings. After that, he also runs Unit tests on a remote server that returns the results as xml to the server CI. Also, by using maven installing updates on Oracle database, and the database is in a consistent initial state.

The sources are taken from the specified branches of SVN.

You shashechki or to go? - Ryleigh_Nicol commented on October 8th 19 at 01:24
Well, generally speaking parts 2 and 3 already have the explosive mixture of Python and go.
The question is not in principle possible, just want the integrity of the process.
I am interested in ecosystem nodes and hoped Habr indicate where to look.

In short, we no that does =) - Ebba_Ferry commented on October 8th 19 at 01:27
October 8th 19 at 01:20
Noda is not the same...

Find more questions by tags JavaScriptWeb DevelopmentNode.jsDeployment