0.2.0 • Published 3 years ago

@alexzzz/npms v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago