I have the following script in my package.json
.
{
"scripts": {
"fetcher": "node server/processes/transport.js | bunyan"
}
}
I try to pass command line arguments to transport.js
script like this:
npm run fetcher -- --days=10
But no arguments get passed, npm dumbly passes arguments to the end of the command.