Answer the question
In order to leave comments, you need to log in
How to run 2 scripts npm commands?
I want to run the bundle command so that it starts gulp in turn and then the archiver.
Now this is the kind of line, but it now launches the archiver, and then gulp
"scripts": {
"bundle": "gulp && dir-archiver --src . --dest ../_s.zip --exclude .DS_Store .stylelintrc.json .eslintrc .git .gitattributes .github .gitignore README.md composer.json composer.lock node_modules vendor package-lock.json package.json .travis.yml phpcs.xml.dist assets sass style.css.map"
},
Answer the question
In order to leave comments, you need to log in
https://www.npmjs.com/package/npm-run-all
But in general, this is a game - there are so many parameters to shove into the command. Write a script and run it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question