Home > @microsoft/api-extractor > IExtractorConfigPrepareOptions > packageJson
IExtractorConfigPrepareOptions.packageJson property
The parsed package.json file for the working package, or undefined if API Extractor was invoked without a package.json file.
Signature:
packageJson?: INodePackageJson | undefined;
Remarks
If omitted, then the <unscopedPackageName>
and <packageName>
tokens will have default values.