npm run to execute your project's build tasks is an excellent alternative to tools like Grunt and Gulp. I have a personal project I work on in my free time (whenever that is) that uses
npm run to run lots of tasks.
Setting it up in my project was easy and most tasks seem to run faster than if I had used Grunt or Gulp. And while I don't see myself never using Grunt and Gulp again, using
npm run will be first choice for my near future projects.
npm run in my personal project.
I hope you watch the screencast but you should read those articles at some point because I'm basically putting their great content to video. Here they are:
- task automation with npm run by substack.
- A Facade for Tooling with NPM Package Scripts by K. Adam White.
- How to Use npm as a Build Tool by Keith Cirkel.
- Why we should stop using Grunt & Gulp also by Keith Cirkel.
Also, feel free to check out the other screencasts on my YouTube page.