/get-package-scripts

List scripts defined in any package.json file within your project from the terminal.

Primary LanguageJavaScriptOtherNOASSERTION

get-package-scripts

List scripts defined in any package.json file within your project from the terminal.

Installing

npm

npm install @wehrhaus/get-package-scripts --save-dev

yarn

yarn add @wehrman/get-package-scripts --dev

Example

{
  "name": "Example",
  "scripts": {
    "test-script-one": "test-script-one-action",
    "test-script-two": "test-script-two-action",
    "test-script-three": "test-script-three-action"
  }
}

image