ember-cli
Version:
Command line tool for developing ambitious ember.js apps
34 lines (28 loc) • 726 B
JavaScript
;
const stringUtil = require('ember-cli-string-utils');
module.exports = {
description: 'The default blueprint for ember-cli projects.',
filesToRemove: [
'app/styles/.gitkeep',
'app/templates/.gitkeep',
'app/views/.gitkeep',
'public/.gitkeep',
'Brocfile.js',
'testem.json',
],
locals(options) {
let entity = options.entity;
let rawName = entity.name;
let name = stringUtil.dasherize(rawName);
let namespace = stringUtil.classify(rawName);
return {
name,
modulePrefix: name,
namespace,
emberCLIVersion: require('../../package').version,
yarn: options.yarn,
welcome: options.welcome,
blueprint: 'app',
};
},
};