added gitignore
This commit is contained in:
		
							
								
								
									
										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",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "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": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
@@ -20,5 +23,9 @@
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "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"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user