UNPKG

prepush-if-changed

Version:

A tool that runs your commands if any git-pushed files match the glob written to be used as a pre-push hook

49 lines (48 loc) 1.39 kB
{ "name": "prepush-if-changed", "version": "1.0.8", "description": " A tool that runs your commands if any git-pushed files match the glob written to be used as a pre-push hook", "main": "dist/index.js", "bin": { "prepush-if-changed": "cli.js" }, "scripts": { "build": "rm -rf dist && babel src -d dist --ignore **/*.spec.js --ignore", "build:watch": "rm -rf dist && babel --watch src -d dist --ignore **/*.spec.js", "test": "jest --verbose --passWithNoTests", "test:watch": "jest --watch --verbose", "test:coverage": "jest --coverage" }, "repository": { "type": "git", "url": "git+https://github.com/dprovodnikov/prepush-if-changed.git" }, "keywords": [ "prepush", "hook", "pattern", "changed", "commited", "git" ], "author": "Denys Provodnikov <dp.wireden@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/dprovodnikov/prepush-if-changed/issues" }, "homepage": "https://github.com/dprovodnikov/prepush-if-changed#readme", "dependencies": { "@babel/polyfill": "^7.7.0", "cosmiconfig": "^6.0.0", "exec-sh": "^0.3.4", "git-branch": "^2.0.1", "git-branch-parent": "^0.1.2", "git-changed-files": "^1.0.0", "micromatch": "^4.0.2" }, "devDependencies": { "@babel/cli": "^7.7.7", "@babel/preset-env": "^7.7.7", "jest": "^24.9.0" } }