UNPKG

569 BTypeScriptView Raw
1/**
2 * `Repository` represents a remote repository hosting
3 * the source code of a package.
4 *
5 * @see {@link https://docs.npmjs.com/cli/v6/configuring-npm/package-json#repository}.
6 */
7export interface Repository {
8 /** Repository type (for example, `git`) */
9 readonly type?: string;
10 /** Repository's URL */
11 readonly url: string;
12 /**
13 * Specific directory in the repository containing the package
14 * (for example, a directory in a monorepo)
15 */
16 readonly directory?: string;
17}
18//# sourceMappingURL=repository.d.ts.map
\No newline at end of file