diff options
Diffstat (limited to 'app/index.js')
| -rw-r--r-- | app/index.js | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/app/index.js b/app/index.js index 300cc12..7f24639 100644 --- a/app/index.js +++ b/app/index.js @@ -75,12 +75,25 @@ var UnsemanticExpressGenerator = yeoman.generators.Base.extend({ installingExpress: function() { if (this.jQuery){ // var done = this.async(); - this.npmInstall(['express'], { 'saveDev': true }); + this.npmInstall(['express'], { 'save': true }); // this.npmInstall(['express'], { 'saveDev': true }, done); } }, - installingUnsemantic: function() { - if (! this.jQuery){ + installingTaskEngine: function(){ + this.npmInstall(['grunt'], { 'save': true }); + }, + installingDevelopmentTools: function(){ + this.npmInstall(['grunt-contrib-watch'], { 'saveDev': true }); + this.npmInstall(['grunt-contrib-concat'], { 'saveDev': true }); + this.npmInstall(['grunt-contrib-uglify'], { 'saveDev': true }); + this.npmInstall(['grunt-traceur'], { 'saveDev': true }); + }, + installingProductionTools: function() { + this.npmInstall(['grunt-google-cdn'], { 'save': true }); + this.npmInstall(['google-cdn-data'], { 'save': true }); + }, + installingCss: function() { + if (this.unsemantic){ this.bowerInstall(['unsemantic'], { 'saveDev': true }); } }, |
