Permalink
Browse files

add .main to component-create(1) generated component.json

  • Loading branch information...
1 parent 0fd451f commit 0d413a6a0834a8852398b701e321e887ad15ceb0 @tj tj committed Apr 4, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/component-create
View
@@ -108,6 +108,7 @@ program.prompt(prompt, function(obj){
// js
if (bool(obj.js)) {
+ conf.main = "index.js";
conf.scripts = ["index.js"];
write(join(dir, 'index.js'), '');
}

0 comments on commit 0d413a6

Please sign in to comment.