run-script-proxy calls scripts inside package.json either with npm or yarn (if used) with a simple run
command
npm i --save-dev run-script-proxy
yarn add -D run-script-proxy
in package.json scripts you can now use run
instead of npm run
or yarn
{
"scripts": {
"test": "run echo",
"echo": "echo \"hello world\""
}
}
Run locally installed node module executables with yarn from command line https://www.npmjs.com/package/yarn-run