| { |
| "_from": "husky@^2.3.0", |
| "_id": "husky@2.7.0", |
| "_inBundle": false, |
| "_integrity": "sha512-LIi8zzT6PyFpcYKdvWRCn/8X+6SuG2TgYYMrM6ckEYhlp44UcEduVymZGIZNLiwOUjrEud+78w/AsAiqJA/kRg==", |
| "_location": "/husky", |
| "_phantomChildren": {}, |
| "_requested": { |
| "type": "range", |
| "registry": true, |
| "raw": "husky@^2.3.0", |
| "name": "husky", |
| "escapedName": "husky", |
| "rawSpec": "^2.3.0", |
| "saveSpec": null, |
| "fetchSpec": "^2.3.0" |
| }, |
| "_requiredBy": [ |
| "#DEV:/" |
| ], |
| "_resolved": "https://registry.npmjs.org/husky/-/husky-2.7.0.tgz", |
| "_shasum": "c0a9a6a3b51146224e11bba0b46bba546e461d05", |
| "_spec": "husky@^2.3.0", |
| "_where": "/Users/zhangyong/github.com/apache/pulsar-test-infra/setup-maven", |
| "author": { |
| "name": "Typicode", |
| "email": "typicode@gmail.com" |
| }, |
| "bin": { |
| "husky-upgrade": "lib/upgrader/bin.js" |
| }, |
| "bugs": { |
| "url": "https://github.com/typicode/husky/issues" |
| }, |
| "bundleDependencies": false, |
| "dependencies": { |
| "cosmiconfig": "^5.2.0", |
| "execa": "^1.0.0", |
| "find-up": "^3.0.0", |
| "get-stdin": "^7.0.0", |
| "is-ci": "^2.0.0", |
| "pkg-dir": "^4.1.0", |
| "please-upgrade-node": "^3.1.1", |
| "read-pkg": "^5.1.1", |
| "run-node": "^1.0.0", |
| "slash": "^3.0.0" |
| }, |
| "deprecated": false, |
| "description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", |
| "devDependencies": { |
| "@types/cosmiconfig": "^5.0.3", |
| "@types/find-up": "^2.1.1", |
| "@types/jest": "^24.0.13", |
| "@types/mkdirp": "^0.5.2", |
| "@types/node": "^12.0.1", |
| "@types/read-pkg": "^4.0.0", |
| "@typescript-eslint/eslint-plugin": "^1.9.0", |
| "@typescript-eslint/parser": "^1.9.0", |
| "del": "^4.1.1", |
| "del-cli": "^1.1.0", |
| "eslint": "^5.16.0", |
| "eslint-config-prettier": "^4.2.0", |
| "eslint-config-xo-space": "^0.21.0", |
| "eslint-plugin-prettier": "^3.1.0", |
| "formatree": "^1.0.2", |
| "jest": "^24.8.0", |
| "mkdirp": "^0.5.1", |
| "pinst": "^1.1.1", |
| "pkg-ok": "^2.3.1", |
| "prettier": "^1.17.1", |
| "tempy": "^0.3.0", |
| "ts-jest": "^24.0.2", |
| "typescript": "^3.4.5" |
| }, |
| "engines": { |
| "node": ">=8" |
| }, |
| "homepage": "https://github.com/typicode/husky#readme", |
| "jest": { |
| "transform": { |
| "^.+\\.tsx?$": "ts-jest" |
| }, |
| "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", |
| "moduleFileExtensions": [ |
| "ts", |
| "tsx", |
| "js", |
| "jsx", |
| "json", |
| "node" |
| ] |
| }, |
| "keywords": [ |
| "git", |
| "hook", |
| "hooks", |
| "pre-commit", |
| "precommit", |
| "post-commit", |
| "postcommit", |
| "pre-push", |
| "prepush", |
| "post-merge", |
| "postmerge", |
| "test", |
| "lint" |
| ], |
| "license": "MIT", |
| "name": "husky", |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/typicode/husky.git" |
| }, |
| "scripts": { |
| "build": "del-cli lib && tsc", |
| "devinstall": "npm run build && npm run _install -- node_modules/husky && node scripts/dev-fix-path", |
| "devuninstall": "npm run build && npm run preuninstall -- node_modules/husky", |
| "fix": "npm run lint -- --fix", |
| "install": "node husky install", |
| "lint": "eslint . --ext .js,.ts --ignore-path .gitignore", |
| "postpublish": "pinst --disable", |
| "postversion": "git push && git push --tags", |
| "prepublishOnly": "npm run test && npm run build && pinst --enable && pkg-ok", |
| "preuninstall": "node husky uninstall", |
| "test": "npm run lint && jest", |
| "version": "jest -u && git add -A src/installer/__tests__/__snapshots__" |
| }, |
| "version": "2.7.0" |
| } |