https://github.com/alexzhang1030/npms
a cli shows and executes your project npm scripts
https://github.com/alexzhang1030/npms
Last synced: 3 months ago
JSON representation
a cli shows and executes your project npm scripts
- Host: GitHub
- URL: https://github.com/alexzhang1030/npms
- Owner: alexzhang1030
- License: mit
- Created: 2022-08-29T14:35:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T08:57:23.000Z (over 2 years ago)
- Last Synced: 2025-02-15T10:35:52.453Z (3 months ago)
- Language: Vue
- Homepage: https://stackblitz.com/edit/node-ugl9ec?file=README.md
- Size: 2.67 MB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NPMS(cripts)
a CLI shows and executes your project npm scripts
## Installation
```bash
pnpm install @alexzzz/npms
```## Usage
```bash
# in your package root
npms
```### List all scripts
then, you could see these things on your terminal:

We support recursively get `package.json` scripts.
You can press `` and `` to switch packages.
### Execute scripts (WIP)
- Press `` and `` to select a script.
- Press `` to execute the script.
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 scrollThese 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
- [temir](https://github.com/webfansplz/temir)