NPM: List available custom scripts in the CLI
If you are working in the CLI on a project that uses NPM and you want to know what what custom scripts are available to you, without need to open and scroll through package.json
, just simply execute:
npm run
and all your custom scripts will be outputed to the screen.
Written on August 16, 2016 by evanbrodie