update dependencies
This commit is contained in:
parent
75219a5474
commit
36e02502d0
@ -41,9 +41,9 @@ gulp.task('gulpTest',function() {
|
|||||||
### Notes:
|
### Notes:
|
||||||
|
|
||||||
* The first argument of gulpFunction can also be an **array of multiple functionnames**.
|
* The first argument of gulpFunction can also be an **array of multiple functionnames**.
|
||||||
Each function can return a promise. the pipe stop will finish when every promise is fullfilled.
|
Each function can return a promise. The pipe stop will finish when every promise is fullfilled.
|
||||||
* the second argument can be empty, it defaults to "forEach"
|
* The second argument can be empty, it defaults to "forEach"
|
||||||
* the following options are available:
|
* The following options are available:
|
||||||
* "forFirst" - executes when first chunk/vinylfile of the stream reaches the pipestop.
|
* "forFirst" - executes when first chunk/vinylfile of the stream reaches the pipestop.
|
||||||
file is pushed further down the line when function's returned promise is fullfilled.
|
file is pushed further down the line when function's returned promise is fullfilled.
|
||||||
* "forEach" - executes like "forFirst" but with every chunk/vinylfile in the stream;
|
* "forEach" - executes like "forFirst" but with every chunk/vinylfile in the stream;
|
||||||
|
3
dist/gulpfunction.plugins.d.ts
vendored
Normal file
3
dist/gulpfunction.plugins.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import "typings-global";
|
||||||
|
export declare let Q: any;
|
||||||
|
export declare let through2: any;
|
4
dist/gulpfunction.plugins.js
vendored
4
dist/gulpfunction.plugins.js
vendored
@ -1,6 +1,6 @@
|
|||||||
/// <reference path="typings/main.d.ts" />
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
require("typings-global");
|
||||||
exports.Q = require("q");
|
exports.Q = require("q");
|
||||||
exports.through2 = require("through2");
|
exports.through2 = require("through2");
|
||||||
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImd1bHBmdW5jdGlvbi5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBDQUEwQzs7QUFFL0IsU0FBQyxHQUFHLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNqQixnQkFBUSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQyIsImZpbGUiOiJndWxwZnVuY3Rpb24ucGx1Z2lucy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vLyA8cmVmZXJlbmNlIHBhdGg9XCJ0eXBpbmdzL21haW4uZC50c1wiIC8+XG5cbmV4cG9ydCBsZXQgUSA9IHJlcXVpcmUoXCJxXCIpO1xuZXhwb3J0IGxldCB0aHJvdWdoMiA9IHJlcXVpcmUoXCJ0aHJvdWdoMlwiKTtcbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
|
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImd1bHBmdW5jdGlvbi5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxRQUFPLGdCQUFnQixDQUFDLENBQUE7QUFFYixTQUFDLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ2pCLGdCQUFRLEdBQUcsT0FBTyxDQUFDLFVBQVUsQ0FBQyxDQUFDIiwiZmlsZSI6Imd1bHBmdW5jdGlvbi5wbHVnaW5zLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFwidHlwaW5ncy1nbG9iYWxcIjtcclxuXHJcbmV4cG9ydCBsZXQgUSA9IHJlcXVpcmUoXCJxXCIpO1xyXG5leHBvcnQgbGV0IHRocm91Z2gyID0gcmVxdWlyZShcInRocm91Z2gyXCIpO1xyXG4iXX0=
|
||||||
|
1
dist/index.d.ts
vendored
Normal file
1
dist/index.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import "typings-global";
|
4
dist/index.js
vendored
4
dist/index.js
vendored
File diff suppressed because one or more lines are too long
11
package.json
11
package.json
@ -3,6 +3,7 @@
|
|||||||
"version": "1.3.1",
|
"version": "1.3.1",
|
||||||
"description": "accepts a function call as parameter to execute in gulp pipeline",
|
"description": "accepts a function call as parameter to execute in gulp pipeline",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
"typings":"dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(npmts)",
|
"test": "(npmts)",
|
||||||
"reinstall": "(rm -r node_modules && npm install)",
|
"reinstall": "(rm -r node_modules && npm install)",
|
||||||
@ -11,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/pushrocks/gulp-function.git"
|
"url": "https://gitlab.com/pushrocks/gulp-function.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"gulpplugin",
|
"gulpplugin",
|
||||||
@ -21,16 +22,16 @@
|
|||||||
"author": "Lossless GmbH <office@lossless.com> (https://lossless.com)",
|
"author": "Lossless GmbH <office@lossless.com> (https://lossless.com)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/pushrocks/gulp-function/issues"
|
"url": "https://gitlab.com/pushrocks/gulp-function/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/pushrocks/gulp-function",
|
"homepage": "https://gitlab.com/pushrocks/gulp-function",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"through2": "^2.0.1"
|
"through2": "^2.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"beautylog": "^4.1.2",
|
"beautylog": "^5.0.8",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"npmts": "^5.0.3"
|
"npmts": "^5.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
test/test.d.ts
vendored
Normal file
1
test/test.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import "typings-test";
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="../ts/typings/main.d.ts" />
|
import "typings-test"
|
||||||
var gulp = require("gulp");
|
var gulp = require("gulp");
|
||||||
var gulpFunction = require("../dist/index.js");
|
var gulpFunction = require("../dist/index.js");
|
||||||
var beautylog = require("beautylog");
|
var beautylog = require("beautylog");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="typings/main.d.ts" />
|
import "typings-global";
|
||||||
|
|
||||||
export let Q = require("q");
|
export let Q = require("q");
|
||||||
export let through2 = require("through2");
|
export let through2 = require("through2");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="typings/main.d.ts" />
|
import "typings-global";
|
||||||
|
|
||||||
import plugins = require("./gulpfunction.plugins");
|
import plugins = require("./gulpfunction.plugins");
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"ambientDependencies": {
|
|
||||||
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts",
|
|
||||||
"mocha": "github:Bartvds/tsd-deftools/typings/DefinitelyTyped/mocha/mocha.d.ts",
|
|
||||||
"colors": "github:DefinitelyTyped/DefinitelyTyped/colors/colors.d.ts"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user