ember-cli
Version:
Command line tool for developing ambitious ember.js apps
19 lines (15 loc) • 379 B
JavaScript
var EOL = require('os').EOL;
module.exports = {
description: 'Generates a mock api endpoint in /api prefix.',
anonymousOptions: [
'endpoint-path'
],
locals: function(options) {
return {
path: '/' + options.entity.name.replace(/^\//, '')
};
},
afterInstall: function() {
return this.addPackageToProject('connect-restreamer', '^1.0.0');
}
};