UNPKG

ember-horizon

Version:

An Ember service for managing a Horizon connection and an adapter to request data from that connection.

26 lines (22 loc) 928 B
/*jshint node:true*/ var chalk = require('chalk'); var RSVP = require('rsvp'); module.exports = { description: 'ember-horizon blueprint', normalizeEntityName: function() { // this prevents an error when the entityName is not specified }, afterInstall: function() { var self = this; return new RSVP.Promise(function(resolve) { console.log(chalk.green.bold('ember-horizon') + ' has been installed along with all client dependencies.'); console.log(' - in order to use this you will need to install the Horizon server,'); console.log(' you can find more information here: ' + chalk.blue.underline('http://horizon.io/install/')); console.log(); console.log('In development mode you can serve both Horizon server and Ember\'s "serve" by'); console.log('using the ' + chalk.bold('ember horizon:serve') + ' command.'); console.log(); resolve(); }); }, };