When you have a lot of npm-scripts, it's difficult to know the function of the script, so I forked a well-made ntl project.
Npm Task Info
Interactive cli menu shown description to list and run npm tasks.
You can add description using
$ npm install -g nti
cd to a folder containing a
package.json files that has configured scripts, then:
You can also specify a project folder containing a
cli options can also be invoked as their shorter alias:
Here is what the help page looks like:
nti --helpUsage:nti [<path>]Options:-v --version Displays app version number-h --help Shows this help message-a --all Includes pre and post scripts on the list-m --multiple Allows a selection of multiple tasks to run at once-i --info Displays the contents of each script
MIT © sculove