ember-export-application-global
Version:
Sets `window.MyAppName` up as the application instance upon boot.
13 lines (10 loc) • 314 B
JavaScript
/* jshint node:true */
var execSync = require('child_process').execSync;
module.exports = {
// Publish the new release to NPM after a successful push
afterPush: function() {
console.log('publishing to npm');
var output = execSync('npm publish', { encoding: 'utf8' });
console.log(output);
}
};