Npm custom runner

runner
nodejs

#1

I have scripts defined in my package.json in a node project and want to use one of those scripts as a runner. No matter what I try with custom runners, I can’t get it to work. I’m sure other people have done this though… does anyone have a runner for it?


#2

Runners interpret the first argument as a path, which can interfere with cwd in npm runner
You can use shell command runner and type npm run <scrip-namet> in command input