add npm install hook for browserify

This commit is contained in:
Manuel Araoz 2014-11-26 19:33:50 -03:00
parent 25651813e8
commit 433cd81543
2 changed files with 6 additions and 1 deletions

View File

@ -102,6 +102,10 @@ gulp.task('browser-test', function() {
]); ]);
}); });
gulp.task('browser-all', function(callback) {
runSequence(['browser'], ['browser-test'], callback);
});
gulp.task('karma', testKarma); gulp.task('karma', testKarma);
gulp.task('minify', function() { gulp.task('minify', function() {

View File

@ -8,7 +8,8 @@
"lint": "gulp lint", "lint": "gulp lint",
"test": "gulp test-all", "test": "gulp test-all",
"coverage": "gulp coverage", "coverage": "gulp coverage",
"build": "gulp" "build": "gulp",
"postinstall": "gulp browser-all"
}, },
"contributors": [ "contributors": [
{ {