add npm install hook for browserify
This commit is contained in:
parent
25651813e8
commit
433cd81543
|
@ -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('minify', function() {
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
"lint": "gulp lint",
|
||||
"test": "gulp test-all",
|
||||
"coverage": "gulp coverage",
|
||||
"build": "gulp"
|
||||
"build": "gulp",
|
||||
"postinstall": "gulp browser-all"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue