/** * An interface that represents a package.json */ interface PackageJson { /** * The name attribute of the package.json */ name: string /** * The version attribute of the package.json */ version?: string /** * The dependencies attribute of the package.json */ dependencies?: Record /** * The devDependencies attribute of the package.json */ devDependencies?: Record /** * The optionalDependencies attribute of the package.json */ optionalDependencies?: Record /** * The publishConfig attribute of the package.json */ publishConfig?: { registry?: string } } export type { PackageJson }