1

Adding auto installer

This commit is contained in:
Alex Yatskov 2014-10-03 12:21:06 +09:00
parent 3d257ef194
commit 58f4b8c861
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@
var concat = require('gulp-concat');
var gulp = require('gulp');
var inject = require('gulp-inject');
var install = require('gulp-install');
var jshint = require('gulp-jshint');
var mainBowerFiles = require('main-bower-files');
var minifyCss = require('gulp-minify-css');
@ -109,4 +110,8 @@ gulp.task('dist', ['html_dist'], function() {
return nodemon(options).on('change', ['html_dist']);
});
gulp.task('install', function() {
gulp.src(['client/bower.json', 'server/package.json', 'scrape/package.json']).pipe(install());
});
gulp.task('default', ['dev']);

View File

@ -16,6 +16,7 @@
"gulp": "^3.8.8",
"gulp-concat": "^2.4.1",
"gulp-inject": "^1.0.2",
"gulp-install": "^0.2.0",
"gulp-jshint": "^1.8.5",
"gulp-minify-css": "^0.3.10",
"gulp-minify-html": "^0.1.5",