Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #15 from TooTallNate/patch-1

package: add default "repository" field
  • Loading branch information...
commit d73686440ec680147726144a098da9ca3dec84dd 2 parents 460aec3 + 7c8d200
TJ Holowaychuk authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  templates/git/content/package.json
  2. +1 −0  templates/git/index.js
3  templates/git/content/package.json
View
@@ -7,4 +7,5 @@
, "dependencies": {}
, "main": "index"
, "engines": { "node": "0.4.x" }
-}
+ , "repository": { "type": "git", "url": "git://github.com/{{username}}/{{project}}.git" }
+}
1  templates/git/index.js
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',
Please sign in to comment.
Something went wrong with that request. Please try again.