The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Merge npm-run-all into npm
NPM Scripts are great however sometimes it is necessary to run multiple commands from a single script.
For example: first remove the dist folder and then start the build.
There are simple ways e.g.
"build": "rimraf dist && npm run build-something" however this does not work for every os and shell.
That’s why we install https://www.npmjs.com/package/npm-run-all for almost every project.
It allows us to do the following:
"build": "npm-run-all build:*", "build:cleanup": "rimraf dist", "build:sth": "a-build-util",
It would be cool if you could add a feature for
npm run to support multiple jobs and/or minitmatches.
npm run build:*
npm run build:cleanup build:sth
I guess this would be a small change but it could help many developers.