"scripts": {
"dev": "npm run development",
"development": "run-something",
....
When invoking my script, I use the following command:
npm run dev
This is a convenient shortcut that executes the standard command npm-run-development
.
Is there a way to pass arguments from the shortcut command to the standard command? For instance, how can the test argument be transmitted from npm run dev
to npm run development
?
npm run dev -- --test=abc