Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRepository

Specify the place where your code lives. This is helpful for people who want to contribute.

  • Git
{
  "repository": {
    "type": "git",
    "url": "https://github.com/ajaxlab/package-json-type.git"
  }
}
  • Svn
{
  "repository": {
    "type": "svn",
    "url": "https://v8.googlecode.com/svn/trunk/"
  }
}
  • Monorepo
{
  "repository": {
    "type": "git",
    "url": "https://github.com/facebook/react.git",
    "directory": "packages/react-dom"
  }
}
see

https://yarnpkg.com/en/docs/package-json#toc-repository

see

https://docs.npmjs.com/files/package.json#repository

Hierarchy

  • IRepository

Index

Properties

Properties

Optional directory

directory: undefined | string

type

type: string

url

url: string

Generated using TypeDoc