Rush StackShopBlogEvents
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

Property

Modifiers

Type

Description

directory?

string

(Optional) If the project does not exist at the root of the repository, its path is specified here.

type

string

The source control type for the repository that hosts the project. This is typically "git".

url

string

The URL of the repository that hosts the project.