added gitignore

This commit is contained in:
Phil Kunz 2015-10-25 20:02:14 +01:00
parent e43c627307
commit b6a6c62962
3 changed files with 26 additions and 2 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
node_modules/
.settings/
.idea/
ts/*.js
ts/*.js.map

11
index.js Normal file
View File

@ -0,0 +1,11 @@
/// <reference path="typings/tsd.d.ts" />
var path, through;
through = require("through2");
path = require("path");
module.exports = function (jsonObject, type) {
if (type === void 0) { type = undefined; }
return through.obj(function (file, enc, cb) {
//tell gulp that we are complete
return cb(null, file);
});
};

View File

@ -4,7 +4,10 @@
"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": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "cd ts/compile && gulp" "test": "(cd ts/compile && gulp)",
"reinstall": "(rm -r node_modules && npm install)",
"release": "(git pull origin master && npm version patch && git push origin master && git checkout release && git merge master && git push origin release && git checkout master)",
"startdev": "(git checkout master && git pull origin master)"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -20,5 +23,9 @@
"bugs": { "bugs": {
"url": "https://github.com/pushrocks/gulp-callfunction/issues" "url": "https://github.com/pushrocks/gulp-callfunction/issues"
}, },
"homepage": "https://github.com/pushrocks/gulp-callfunction" "homepage": "https://github.com/pushrocks/gulp-callfunction",
"devDependencies": {
"gulp": "^3.9.0",
"gulp-typescript": "^2.9.2"
}
} }