# JavaScriptBuildScriptAnnotation Properties

- Package: [Aspire.Hosting.JavaScript](/reference/api/csharp/aspire.hosting.javascript.md)
- Type: [JavaScriptBuildScriptAnnotation](/reference/api/csharp/aspire.hosting.javascript/javascriptbuildscriptannotation.md)
- Kind: `Properties`
- Members: `2`

Represents the annotation for the JavaScript package manager's build script.

## Args

- Name: `Args`
- Modifiers: `get`
- Returns: `string[]`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.JavaScript/JavaScriptBuildScriptAnnotation.cs#L23)

Gets the command-line arguments supplied to the build script.

```csharp
public string[] Args { get; }
```

## ScriptName

- Name: `ScriptName`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.JavaScript/JavaScriptBuildScriptAnnotation.cs#L18)

Gets the name of the script used to build.

```csharp
public string ScriptName { get; }
```
