npm-run-proxy alias run-proxy
npm-run-proxy calls npm scripts either with npm or yarn (if used)
install
npm
npm i --save-dev npm-run-proxy
yarn
yarn add -D npm-run-proxy
usage
in package.json scripts you can now use run
instead of npm run
or yarn
example
{
"scripts": {
"test": "run echo",
"echo": "echo \"echo\""
}
}