run-script-up

Runs script if exists and goes up the folder tree until it finds it.


Keywords
script, run, folder, tree, up, package.json, npm run, search
License
MIT
Install
npm install run-script-up@1.1.5

Documentation

run-script-up

Runs script if exists and goes up the folder tree until it finds it.

Install

npm i -g run-script-up

Usage

run-script-up <script name>

You can access the original work directory by querying: process.env.orig_cwd