Skip to content

Instantly share code, notes, and snippets.

@cdata
Created July 5, 2011 02:40
Show Gist options
  • Save cdata/1064174 to your computer and use it in GitHub Desktop.
Save cdata/1064174 to your computer and use it in GitHub Desktop.
Skeleton for package.json
{
"name" : "SomeName",
"description" : "A description.",
"keywords" : ["some", "name", "foo", "bar"],
"homepage" : "http://some.name/",
"version" : "1",
"author" : {
"name" : "Christopher Joel",
"email" : "chris@scriptolo.gy",
"url" : "http://scriptolo.gy"
},
"contributors" : [],
"config" : {
"foo" : "bar"
},
"main" : "somename",
"bin" : { "somebin" : "./main.js" },
"scripts" : { "test" : "tap test/" },
"repository" : {
"type" : "git",
"url" : "http://github.com/substack/node-optimist.git"
},
"bugs" : "http://github.com/cdata/somename/issues",
"dependencies" : {
"somedep" : "~0.7.2"
},
"licenses" : [
{
"type" : "MIT",
"url" : "http://www.opensource.org/licenses/mit-license.php"
}
]
}
@subwaymatch
Copy link

Very nice, thanks.

@kristopolous
Copy link

kristopolous commented Jun 22, 2016

according to npm, "1" is an invalid version apparently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment