0.2.0 • Published 2 years ago

@alexzzz/npms v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NPMS(cripts)

a CLI shows your project npm scripts

Installation

pnpm install @alexzzz/npms

Usage

# in your package root
npms

List all scripts

then, you could see these things on your terminal:

usage

We support recursively get package.json scripts.

You can press <arrow-left> and <arrow-right> to switch packages.

Execute scripts (WIP)

  • Press <arrow-up> and <arrow-down> to select a script.
  • Press <enter> to execute the script.

usage

Now you can only execute it, but actually, the behavior is a little weird.

So this feature is still under in development.

Known Issues

  • if packages too many, packages'tab will squeeze it together
  • if scripts too many, scripts container could not scroll

These behaviors are caused by TEMir, and i maybe will make pr then.

Next Step

  • fix known issues
  • support config
  • show cli help command

License

MIT, alexzhang1030

Reference

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago