# run-script Run an npm script using Nx Options can be configured in `workspace.json` when defining the executor, or when invoking it. Read more about how to use executors and the CLI here: https://nx.dev/react/getting-started/nx-cli#running-tasks. ## Options ### script (_**required**_) Type: `string` Script to run in child process