Module scripts

Module scripts 

Source
Expand description

Script parsing from package.json.

Functionsยง

extract_scripts_from_package
Extract scripts from a parsed Package.
parse_package_json
Parse the full package.json structure.
parse_scripts
Parse a package.json file from a directory.
parse_scripts_from_json
Parse scripts from package.json content.
parse_scripts_required
Parse scripts from package.json content, returning error if no scripts exist.