UNPKG

bricks-cli

Version:

Command line tool for developing ambitious ember.js apps

19 lines (16 loc) 505 B
var Blueprint = require('../../lib/models/blueprint'); var stringUtil = require('../../lib/utilities/string'); module.exports = Blueprint.extend({ locals: function(options) { var entity = options.entity; var rawName = entity.name; var name = stringUtil.dasherize(rawName); var namespace = stringUtil.classify(rawName); return { name: name, modulePrefix: name, namespace: namespace, emberCLIVersion: require('../../package').version } } });