UNPKG

git-pre-commit

Version:

You can run the pre-commit with any build tool (Gulp, Grunt etc..) and it will ignore all the **unstaged changes** that wasn't added to the git index (using the command ```git add```).

68 lines (67 loc) 1.52 kB
{ "name": "git-pre-commit", "version": "2.1.4", "description": "You can run the pre-commit with any build tool (Gulp, Grunt etc..) and it will ignore all the **unstaged changes** that wasn't added to the git index (using the command ```git add```).", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/kazazor/git-pre-commit" }, "keywords": [ "git", "pre-commit", "precommit", "hook", "hooks", "lint", "eslint", "jshint", "gulp", "grunt", "npm", "yarn", "yarn.lock", "node", "nodejs", "js", "javascript", "ci", "development" ], "author": { "name": "Or Kazaz", "url": "https://github.com/kazazor" }, "bugs": { "url": "https://github.com/kazazor/git-pre-commit/issues" }, "dependencies": { "del": "2.2.2", "gulp": "3.9.1", "gulp-chmod": "1.3.0", "gulp-debug": "2.1.2", "gulp-git": "1.11.3", "gulp-if": "2.0.1", "gulp-util": "3.0.7", "run-sequence": "1.2.2", "shelljs": "0.7.4", "yargs": "5.0.0", "cross-spawn": "4.0.2" }, "devDependencies": { "eslint": "3.6.1", "gulp-eslint": "3.0.1", "gulp-mocha": "3.0.1", "q": "1.4.1" }, "engines": { "node": ">=6.0.0" }, "scripts": { "precommit": "gulp pre-commit --env=development", "postinstall": "gulp hooks:install", "uninstall": "gulp hooks:clean", "lint": "gulp lint --env=development", "test": "gulp tests --env=development" } }