Skip to content

Instantly share code, notes, and snippets.

@juliangruber
Created December 22, 2013 21:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliangruber/8088601 to your computer and use it in GitHub Desktop.
Save juliangruber/8088601 to your computer and use it in GitHub Desktop.
pkginit
{
"name" : basename.replace(/^node-/, ''),
"description" : prompt(),
"version" : "0.0.0",
"repository" : {
"type" : "git",
"url" : "git://github.com/juliangruber/" + basename + ".git"
},
"homepage": "https://github.com/juliangruber/" + basename,
"main" : prompt('entry point', 'index.js'),
"scripts" : {
"test" : "tape test/*.js"
},
"dependencies" : {},
"devDependencies" : {
"tape" : "*"
},
"keywords": prompt(function (s) { return s.split(/\s+/) }),
"author": {
"name": "Julian Gruber",
"email": "mail@juliangruber.com",
"url": "http://juliangruber.com"
},
"license": "MIT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment