Skip to content

PackageRepository

Object form of the package.json repository field (e.g. {"type":"git","url":"git+https://github.com/u/r.git"}).

Signatures

ts
interface PackageRepository {}

Members

Properties

directory

Subdirectory within a monorepo where the package lives.

ts
directory?: string;

type

Version control system type (usually 'git').

ts
type?: string;

url

Repository URL or locator.

ts
url?: string;

See Also

Released under the MIT License.