... probably only works w/ GitHub URLs, but I think npm does this by default when creating a package.json file via npm init
.
{
"name": "pkg3",
"version": "0.1.0-DEV",
"description": "Foo baz",
"repository": {
"type": "git",
"url": "[email protected]:jonschlinkert/normalize-pkg.git"
},
"licenses": [
{
"type": "GPL-2.0"
}
]
}
{
"name": "pkg3",
"version": "0.1.0-DEV",
"description": "Foo baz",
"repository": {
"type": "git",
"url": "[email protected]:jonschlinkert/normalize-pkg.git"
},
"licenses": [
{
"type": "GPL-2.0"
}
],
"author": {
"name": "",
"url": ""
},
"bugs": {
"url": ""
},
"keywords": []
}
"bugs": {
"url": "https://github.com/jonschlinkert/normalize-pkg/issues/"
},