Skip to content

standardizePackageJson

standardizePackageJson(options): boolean

Defined in: standardizePackageJson.ts:26

Writes defaults.private/type/workspaces onto the project’s package.json, then merges in defaults.scripts/wireit entries — pruning any entry that defaults.featureScripts ties to a feature id not present in config.include, and always keeping entries not tied to any feature. Returns whether anything changed. See this package’s README for an end-to-end example.

StandardizePackageJsonOptions

boolean