Permalink
Browse files

Merge pull request #15 from TooTallNate/patch-1

package: add default "repository" field
  • Loading branch information...
2 parents 460aec3 + 7c8d200 commit d73686440ec680147726144a098da9ca3dec84dd @tj committed Dec 20, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 templates/git/content/package.json
  2. +1 −0 templates/git/index.js
@@ -7,4 +7,5 @@
, "dependencies": {}
, "main": "index"
, "engines": { "node": "0.4.x" }
-}
+ , "repository": { "type": "git", "url": "git://github.com/{{username}}/{{project}}.git" }
+}
View
@@ -3,6 +3,7 @@ var spawn = require('child_process').spawn;
exports.variables = {
project: 'Project name: ',
description: 'Project description: ',
+ username: 'Project username: ',
name: function(values, callback) {
spawn('git', [
'--bare',

0 comments on commit d736864

Please sign in to comment.