I'd like to pass an argument into the first of two commands in my npm script:
"scripts": {
"myscript": "a && b"
}
When I run npm run myscript -- --somearg=somevalue
, the argument is passed to command b
but not command a
. Is there some way to instead ensure that the first command receives the argument?