Created
January 18, 2014 16:22
-
-
Save bevacqua/8492639 to your computer and use it in GitHub Desktop.
Publish packages to `npm` using Gulp.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var spawn = require('child_process').spawn; | |
gulp.task('npm', function (done) { | |
spawn('npm', ['publish'], { stdio: 'inherit' }).on('close', done); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment