# JavaScriptBuildScriptAnnotation

- Kind: `class`
- Package: [Aspire.Hosting.JavaScript](/reference/api/csharp/aspire.hosting.javascript.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.JavaScript`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.JavaScript/JavaScriptBuildScriptAnnotation.cs)
- Implements: `IResourceAnnotation`

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

## Definition

```csharp
namespace Aspire.Hosting.JavaScript;

public sealed class JavaScriptBuildScriptAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Constructors

- [JavaScriptBuildScriptAnnotation(string, string[]?)](/reference/api/csharp/aspire.hosting.javascript/javascriptbuildscriptannotation/constructors.md#constructor-string-string) -- Represents the annotation for the JavaScript package manager's build script.

## Properties

- [Args](/reference/api/csharp/aspire.hosting.javascript/javascriptbuildscriptannotation/properties.md#args) : `string[]` `get` -- Gets the command-line arguments supplied to the build script.
- [ScriptName](/reference/api/csharp/aspire.hosting.javascript/javascriptbuildscriptannotation/properties.md#scriptname) : `string` `get` -- Gets the name of the script used to build.
