Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soenkekluth/run-script-proxy

execute scripts inside package.json with npm or yarn with a simple run command
https://github.com/soenkekluth/run-script-proxy

npm package-json scripts yarn

Last synced: 9 days ago
JSON representation

execute scripts inside package.json with npm or yarn with a simple run command

Awesome Lists containing this project

README

        

# 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