Returns a map of scripts defined in pubspec.yaml or the scripts from the file path defined in pubspec.yaml.
pubspec.yaml
Future<JsonMap> getScripts() async { _scripts ??= await _getScriptsUncached(); return _scripts!; }