Permalink
Browse files

add username to default template

  • Loading branch information...
1 parent d736864 commit 9bbee05ac0fafa800b979ed115eb608fa84e0877 @tj committed Dec 20, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 templates/default/content/package.json
  2. +2 −1 templates/default/index.js
@@ -4,10 +4,11 @@
"description": "{{description}}",
"keywords": [],
"author": "{{name}} <{{email}}>",
+ "repository": { "type": "git", "url": "git://github.com/{{username}}/{{project}}.git" },
"dependencies": {},
"devDependencies": {
"mocha": "*",
"should": "*"
},
"main": "index"
-}
+}
@@ -1,7 +1,8 @@
exports.variables = {
project: 'Project name: '
+ , username: 'Project username: '
, name: 'Enter your name: '
, email: 'Enter your email: '
, description: 'Project description: '
-};
+};

0 comments on commit 9bbee05

Please sign in to comment.