Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 834F418854 for ; Mon, 20 Jul 2015 17:45:50 +0000 (UTC) Received: (qmail 36051 invoked by uid 500); 20 Jul 2015 17:39:10 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 36030 invoked by uid 500); 20 Jul 2015 17:39:10 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 36021 invoked by uid 99); 20 Jul 2015 17:39:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2015 17:39:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 11366E04AC; Mon, 20 Jul 2015 17:39:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: muratsu@apache.org To: commits@cordova.apache.org Message-Id: <8d7f9f6c42ef499da23444476cc2b3a7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cordova-registry-web git commit: Use gulp-serve instead of browser-sync Date: Mon, 20 Jul 2015 17:39:10 +0000 (UTC) Repository: cordova-registry-web Updated Branches: refs/heads/master 676d5b796 -> aefa1cc71 Use gulp-serve instead of browser-sync Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/aefa1cc7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/aefa1cc7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/aefa1cc7 Branch: refs/heads/master Commit: aefa1cc71c125cb12d8938cfd532a60593b1f21f Parents: 676d5b7 Author: Murat Sutunc Authored: Thu Jul 16 23:04:03 2015 -0700 Committer: Murat Sutunc Committed: Thu Jul 16 23:18:04 2015 -0700 ---------------------------------------------------------------------- npm-search/Gulpfile.js | 19 +++---------------- npm-search/package.json | 12 ++++++------ 2 files changed, 9 insertions(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/aefa1cc7/npm-search/Gulpfile.js ---------------------------------------------------------------------- diff --git a/npm-search/Gulpfile.js b/npm-search/Gulpfile.js index 66d850f..6839165 100644 --- a/npm-search/Gulpfile.js +++ b/npm-search/Gulpfile.js @@ -9,8 +9,8 @@ var gulp = require('gulp'), reactify = require('reactify'), uglify = require('gulp-uglify'), gulpif = require('gulp-if'), - browserSync = require('browser-sync'), - envify = require('envify'); + serve = require('gulp-serve'), + envify = require('envify'); gulp.task('styles', function () { gulp.src(['src/css/base.css', 'src/css/flexboxgrid.css']) @@ -59,19 +59,6 @@ gulp.task('dev', ['build'], function () { gulp.watch('src/etc/**', ['etc']); }); -gulp.task('serve', ['dev'], function() { - browserSync({ - server: { - baseDir: './build' - }, - files: [ - './build/*.html', - './build/img/**', - './build/css/*.css', - './build/js/*.js', - './build/etc/**' - ] - }); -}); +gulp.task('serve', ['dev'], serve('build')); gulp.task('build', [ 'styles', 'scripts', 'images', 'html', 'etc' ]); http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/aefa1cc7/npm-search/package.json ---------------------------------------------------------------------- diff --git a/npm-search/package.json b/npm-search/package.json index c7b4caa..34fd6ba 100644 --- a/npm-search/package.json +++ b/npm-search/package.json @@ -18,21 +18,21 @@ "homepage": "https://github.com/apache/cordova-registry-web", "devDependencies": { "browserify": "^10.2.4", + "classnames": "^2.1.2", + "envify": "^3.4.0", "gulp": "^3.9.0", "gulp-concat": "^2.5.2", - "gulp-imagemin": "^2.2.1", - "gulp-util": "^3.0.5", "gulp-if": "^1.2.5", + "gulp-imagemin": "^2.2.1", + "gulp-serve": "^1.0.0", "gulp-uglify": "^1.2.0", + "gulp-util": "^3.0.5", "react": "^0.13.3", "react-tools": "^0.13.3", "reactify": "^1.1.1", - "classnames": "^2.1.2", "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^1.1.0", - "yargs": "^3.12.0", - "browser-sync": "^2.7.13", - "envify": "^3.4.0" + "yargs": "^3.12.0" }, "maintainers": [ { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org