I believe npm scripts can make the job done. Base on the trendency I’ve seen in another similiar comparsion: maven vs gradle.
I felt like that package.json is awesome at manage npm packages dependency, but it’s not a elegent solution for running customarized tasks.
Just like maven pom.xml is good at setting up depencies, but not good at more sophisticate work flow management.
I’m wondering if it makes more sense to use two tools together:
package.json: manage dependencies, and run basic command: npm init, npm install;
gulpfile: manage css compile, build, test, and start dev server tasks;