generator-dozen-default
Version:
Dozen's default generator
27 lines (21 loc) • 515 B
JavaScript
;
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 });
}
});