npmRun
Runs a command using npm checking if the command is overridden in the package.json.
Import:
import { npmRun } from 'obsidian-dev-utils/script-utils/npm-run';Signature:
function npmRun(command: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
command | string | The command to run. |