run
Runs an arbitrary npm script via npm run <target>.
@npm run {
target = "build:prod"
args = "--watch"
}
Caching and batching
| Setting | Value |
|---|---|
| Cache mode | local |
| Batchable | no |
| Platform sensitivity | Unknown |
Argument Reference
The following arguments are supported:
target- (Required) Script name.args- (Optional) Extra arguments after--.