npm-scripts-catalog

2.1.1 • Public • Published

Catalog npm npm

npm-scripts-catalog is CLI tool for you to start npm scripts faster. A little bit more convenient than yarn run and npm run

Description

npm-scripts-catalog will list the available scripts of your current projects according to the package.json file. And what's more convenient is that you can now run the scripts automatically instead of typing the scripts.

After updating to version 2.x, I suggest you run catalog every time you try to start your apps, it's more efficient. And also, you can type some letters of your commands, options will be autocompleted.

Update

In version 2.0, thanks to Inquirer.js, npm-scripts-catalog is able to provide interactive command line user interfaces, making it even easier to run npm scripts.

Just enjoy and have some fun!

Install

$ npm install -g npm-scripts-catalog

Usage

cd someRepo
$ catalog
# alias `ctl` is more recommended, which is also globally registerred, because it's shorter 
$ ctl

and if there is no scripts available, it will print

no script was ever defined!

Options

catalog git:(master) ctl -h
 
  Usage: ctl [options]
 
 
  Options:
 
    -V, --version  output the version number
    -d, --detail   list detail commands
    -h, --help     output usage information
  • -d, this params helps to show the detail infomations of each command

Preview

catalog

Readme

Keywords

Package Sidebar

Install

npm i npm-scripts-catalog

Weekly Downloads

14

Version

2.1.1

License

MIT

Unpacked Size

4.05 kB

Total Files

3

Last publish

Collaborators

  • magicdawn
  • stop2stare