run-script-proxy

run-script-proxy calls scripts inside package.json either with npm or yarn (if used)


Keywords
npm, yarn, run, script, run-script, npm run, yarn run, proxy, npm-script, npm-run
License
MIT
Install
npm install run-script-proxy@1.0.1

Documentation

run-script-proxy

run-script-proxy calls scripts inside package.json either with npm or yarn (if used) with a simple run command

install

npm

npm i --save-dev run-script-proxy

yarn

yarn add -D run-script-proxy

usage

in package.json scripts you can now use run instead of npm run or yarn

{
  "scripts": {
      "test": "run echo",
      "echo": "echo \"hello world\""
  }
}

see also

yarn-run

Run locally installed node module executables with yarn from command line https://www.npmjs.com/package/yarn-run