Easily ls/set/remove package.json’s “scripts” field in cli.


Easily ls/set/remove package.json’s “scripts” field in cli.

npm-run-script is useful, we can run preassigned script commands in cli. However, define script commands may be tedious. We need to open package.json and then find the scripts field and then add/remove script and then close the file.
With nps-cli, you can easily ls/set/remove package.json’s scripts field in cli. For more detail, you can see in github nps-cli

Submitted July 18, 2017 at 10:43AM by stevezheng
via reddit http://ift.tt/2uDd6Lx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s