Concatenate NPM Script Commands?
A common approach to do it is like:
{
"scripts:": {
"script1": "cmd1",
"script2": "cmd2",
"script3": "cmd3",
"build": "npm run script1 && npm run script2 && npm run script3",
}
}
Similar to TheDarkIn1978's answer but shorter:
"script": {
"build:js": "--many --commands",
"build:css": "--are --required",
"build:images": "--on --a",
"build": "run-s build:*"
}