1.3.4 • Published 3 months ago

juicy-run v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

juicy-run

  • Automatic Detection: Automatically locates the closest package.json for simplified CLI script management.
  • Package Manager Compatibility: Supports various package managers including npm, yarn, pnpm, and bun.
  • Efficiency and Precision: Designed to enhance the command line experience, making workflow more efficient and precise.
  • Fuzzy Finder Feature: Incorporates fuzzy matching for quickly selecting the desired script, enhancing user convenience and speed.

GitHub license

Install

$ npm install -g juicy-run

Usage

$ npm install -g juicy-run
$ jr COMMAND
running command...
$ jr (--version)
juicy-run/1.3.4 darwin-arm64 node-v18.18.2
$ jr --help [COMMAND]
USAGE
  $ jr COMMAND
...

Commands

jr

Run a script from package.json using a specified package manager

USAGE
  $ jr  [-p bun|npm|pnpm|yarn]

FLAGS
  -p, --packageManager=<option>  package manager to use
                                 <options: bun|npm|pnpm|yarn>

DESCRIPTION
  Run a script from package.json using a specified package manager

EXAMPLES
  # Run a script with the default package manager
  $ jr
  # Run a script with a specified package manager (npm)
  $ jr --pm npm
  # Run a script with a specified package manager (yarn)
  $ jr --pm yarn
  # Run a script with a specified package manager (pnpm)
  $ jr --pm pnpm
  # Run a script with a specified package manager (bun)
  $ jr --pm bun

See code: src/commands/index.ts

jr config

This command configures the global & project-specific package manager for your project. If no project-specific package manager is set, this global will be used as a fallback.

USAGE
  $ jr config [--set-global-pm bun|npm|pnpm|yarn]

FLAGS
  --set-global-pm=<option>  Set your gloabl package manager for the project. This serves as a fallback when a
                            project-specific package manager is not defined. Choose from "bun", "npm", "pnpm", or
                            "yarn".
                            <options: bun|npm|pnpm|yarn>

DESCRIPTION
  This command configures the global & project-specific package manager for your project. If no project-specific package
  manager is set, this global will be used as a fallback.

See code: src/commands/config/index.ts