EditPackageJsonOptions
Options for editPackageJson.
Import:
import type { EditPackageJsonOptions } from 'obsidian-dev-utils/script-utils/npm';Signature:
export interface EditPackageJsonOptionsProperties
| Property | Type | Description |
|---|---|---|
| cwd? | string | A current working folder where package.json is located. |
| shouldSkipIfMissing? | boolean | If true, skips editing if the file does not exist. |
Links to this page: