I am using a specific task runner to execute my node scripts called Yoshi. I want to run a script from package.json
, for example, yoshi test
but with a custom environment variable (for example special_variable):
"scripts": {
"start": "yoshi start",
"test": "special_variable=value yoshi test // this case"
}