UNPKG

generator-dozen-default

Version:
27 lines (21 loc) 515 B
'use strict'; var yeoman = require('yeoman-generator'); module.exports = yeoman.generators.Base.extend({ writing: function() { this.fs.copy( this.templatePath('app'), this.destinationPath('app') ); this.fs.copy( this.templatePath('_package.json'), this.destinationPath('package.json') ); this.fs.copy( this.templatePath('dozen.*'), this.destinationRoot() ); }, install: function() { this.npmInstall(['dozen'], { 'saveDev': true }); } });