UNPKG

295 BJavaScriptView Raw
1var execSync = require('child_process').execSync;
2
3module.exports = {
4 // Publish the new release to NPM after a successful push
5 afterPush: function() {
6 var output = execSync('npm publish', { encoding: 'utf8' });
7 // eslint-disable-next-line no-console
8 console.log(output);
9 }
10};