Photo by Pankaj Patel on Unsplash
Passing additional arguments to your npm script commands
...
"scripts": {
"test": "jest --coverage --runInBand $npm_config_varname",
},
...
npm run test --varname='--watch --silent'
Photo by Pankaj Patel on Unsplash
...
"scripts": {
"test": "jest --coverage --runInBand $npm_config_varname",
},
...
npm run test --varname='--watch --silent'