Most of my Node.js projects require some build routine. As a fan of minimalism, for simple builds I used to write short scripts operating directly on
fs. In order to avoid duplication and simplify the process for future, I created a simple npm package. I described the required steps below.
For simple build tasks in Node.js I use a custom script. Let’s consider the following requirements:
- Create the
- Copy several other files.