Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
add .main to component-create(1) generated component.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 4, 2013
1 parent 0fd451f commit 0d413a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/component-create
Expand Up @@ -108,6 +108,7 @@ program.prompt(prompt, function(obj){


// js // js
if (bool(obj.js)) { if (bool(obj.js)) {
conf.main = "index.js";
conf.scripts = ["index.js"]; conf.scripts = ["index.js"];
write(join(dir, 'index.js'), ''); write(join(dir, 'index.js'), '');
} }
Expand Down

0 comments on commit 0d413a6

Please sign in to comment.