Skip to main content

Home > @rushstack/node-core-library > IPackageJsonRepository

IPackageJsonRepository interface

This interface is part of the IPackageJson file format. It is used for the "repository" field.

Signature:
export interface IPackageJsonRepository 

Properties

PropertyTypeDescription
directory?string(Optional) If the project does not exist at the root of the repository, its path is specified here.
typestringThe source control type for the repository that hosts the project. This is typically "git".
urlstringThe URL of the repository that hosts the project.