Check
package.json
for the given script.
Install the [package][package] with npm:
$ npm install npm-has-script-cli
$ npm-has-script name [dir]
Check `dir` or the current dir for `package.json`, and exit with 0 if script
`name` was found. Exit with 0 otherwise.
-
npm-has-script
: API for this CLI module
ISC