From 943fcf8634b6fc7baa6534adb9e5e2ca32266e3d Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Mon, 1 Feb 2016 03:38:58 +0100 Subject: [PATCH] switch to gulpFunction --- package.json | 2 +- test/test.js | 4 ++-- ts/test.ts | 6 +++--- ts/typings.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index f672efd..1016eb1 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "gulp": "3.9.0", - "gulp-callfunction": "0.0.10", + "gulp-function": "0.0.12", "npmts": "^2.0.2" } } diff --git a/test/test.js b/test/test.js index 76863bf..6d636d3 100644 --- a/test/test.js +++ b/test/test.js @@ -3,7 +3,7 @@ var plugins = { beautylog: require("beautylog"), gulp: require("gulp"), gulpBrowser: require("../index.js"), - gulpCallFunction: require("gulp-callfunction") + gulpFunction: require("gulp-function") }; describe("gulpBrowser", function () { describe(".browserify", function () { @@ -13,7 +13,7 @@ describe("gulpBrowser", function () { var stream = plugins.gulp.src('./test/browserifyGulpTest.js') .pipe(plugins.gulpBrowser.browserify()) .pipe(plugins.gulp.dest("./test/result/")) - .pipe(plugins.gulpCallFunction(done)); + .pipe(plugins.gulpFunction(done)); return stream; }); plugins.gulp.start.apply(plugins.gulp, ['gulpBrowserNormal']); diff --git a/ts/test.ts b/ts/test.ts index 0471bec..022dc07 100644 --- a/ts/test.ts +++ b/ts/test.ts @@ -3,7 +3,7 @@ var plugins = { beautylog: require("beautylog"), gulp: require("gulp"), gulpBrowser: require("../index.js"), - gulpCallFunction: require("gulp-callfunction") + gulpFunction: require("gulp-function") }; describe("gulpBrowser",function(){ @@ -14,7 +14,7 @@ describe("gulpBrowser",function(){ var stream = plugins.gulp.src('./test/browserifyGulpTest.js') .pipe(plugins.gulpBrowser.browserify()) .pipe(plugins.gulp.dest("./test/result/")) - .pipe(plugins.gulpCallFunction(done)); + .pipe(plugins.gulpFunction(done)); return stream; }); plugins.gulp.start.apply(plugins.gulp, ['gulpBrowserNormal']); @@ -26,6 +26,6 @@ plugins.gulp.task('gulpBrowserTestError',function(cb) { plugins.beautylog.info("Expecting an error:"); var stream = plugins.gulp.src('./test/browserifyGulpTestError.js') .pipe(plugins.gulpBrowser.browserify()) - .pipe(plugins.gulp.dest("./test/result/")) + .pipe(plugins.gulp.dest("./test/result/")); return stream; }); diff --git a/ts/typings.json b/ts/typings.json index 981e41a..ce4c01d 100644 --- a/ts/typings.json +++ b/ts/typings.json @@ -1,7 +1,7 @@ { "ambientDependencies": { - "browserify": "github:DefinitelyTyped/DefinitelyTyped/browserify/browserify.d.ts#3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9", + "browserify": "github:DefinitelyTyped/DefinitelyTyped/browserify/browserify.d.ts", "mocha": "github:Bartvds/tsd-deftools/typings/DefinitelyTyped/mocha/mocha.d.ts", - "node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9" + "node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts" } }