diff --git a/component/index.js b/component/index.js index 043ac66..a5b6541 100644 --- a/component/index.js +++ b/component/index.js @@ -10,8 +10,8 @@ util.inherits(ComponentGenerator, ScriptBase); ComponentGenerator.prototype.createComponentFile = function createComponentFile() { this.generateSourceAndTest( - 'component', - 'spec/component', + 'Component', + 'spec/Component', 'components' ); }; diff --git a/main/index.js b/main/index.js index 3b39a36..96e85c5 100644 --- a/main/index.js +++ b/main/index.js @@ -9,5 +9,5 @@ var MainGenerator = module.exports = function MainGenerator(args, options, confi util.inherits(MainGenerator, ScriptBase); MainGenerator.prototype.createAppFile = function createAppFile() { - this.appTemplate('app', 'scripts/components/'+this.scriptAppName); + this.appTemplate('App', 'scripts/components/'+this.scriptAppName); };