added gitignore
This commit is contained in:
parent
e43c627307
commit
b6a6c62962
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
node_modules/
|
||||||
|
.settings/
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
ts/*.js
|
||||||
|
ts/*.js.map
|
11
index.js
Normal file
11
index.js
Normal 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);
|
||||||
|
});
|
||||||
|
};
|
11
package.json
11
package.json
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user