Function parse_scripts
Source pub fn parse_scripts(project_dir: &Path) -> Result<Scripts>
Expand description
Parse a package.json file from a directory.
§Arguments
project_dir - The directory containing package.json
§Errors
Returns an error if:
- The package.json file cannot be read
- The JSON is malformed