Create a node script to replace a complex npm script

Elijah Manor
InstructorElijah Manor

Share this video with your friends

Send Tweet

In this lesson we will look at pulling out complex npm script logic into an external JavaScript file. Instead of writing bash scripts you can leverage your JavaScript abilities to automate your build process. We’ll use some helper node modules such as shelljs, opn-cli, and babel-cli.

Andreas
Andreas
~ 3 years ago

Nice series! I really like the videos about cross system compatibility. So far I have never thought about that. I also like the extraction into js-scripts. I personally prefer making executable node.js scripts. That way I can skip transpiling the scripts to es2015 and babel-cli as another dependency.