Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save DaneTheory/dcb1bd7a17825ce7569ad4f3c86d611f to your computer and use it in GitHub Desktop.

Select an option

Save DaneTheory/dcb1bd7a17825ce7569ad4f3c86d611f to your computer and use it in GitHub Desktop.
The Package (dot) JSON: A story of love, triumph, and general witchcraft/wizardry - InitFields: Repository
[{
"npm:current": {
"ref": "",
"source": [
]
},
"npm:legacy": {
"ref": "",
"source": [
]
},
"yarn:current": {
"ref": "null",
"source": "null"
},
"yarn:legacy": {
"ref": "https://classic.yarnpkg.com/en/docs/package-json/#toc-repository",
"source": [
"The repository is the location where the actual code for your package lives.",
"_example_:{ \n \"repository\": { \"type\": \"git\", \"url\": \"https://github.com/user/repo.git\", \n \"repository\": \"github:user/repo\", \n \"repository\": \"gitlab:user/repo\", \n \"repository\": \"bitbucket:user/repo\", \n \"repository\": \"gist:a1b2c3d4e5f\" \n }:_example_"
]
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment