package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. {
  2. "_args": [
  3. [
  4. "husky@4.3.8",
  5. "/Users/lihai/jolijoli/pad_spa"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "husky@4.3.8",
  10. "_id": "husky@4.3.8",
  11. "_inBundle": false,
  12. "_integrity": "sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==",
  13. "_location": "/husky",
  14. "_phantomChildren": {
  15. "@babel/code-frame": "7.0.0",
  16. "@types/parse-json": "4.0.0",
  17. "error-ex": "1.3.2",
  18. "json-parse-even-better-errors": "2.3.1",
  19. "lines-and-columns": "1.2.4",
  20. "parent-module": "1.0.1",
  21. "yaml": "1.10.2",
  22. "yocto-queue": "0.1.0"
  23. },
  24. "_requested": {
  25. "type": "version",
  26. "registry": true,
  27. "raw": "husky@4.3.8",
  28. "name": "husky",
  29. "escapedName": "husky",
  30. "rawSpec": "4.3.8",
  31. "saveSpec": null,
  32. "fetchSpec": "4.3.8"
  33. },
  34. "_requiredBy": [
  35. "#DEV:/"
  36. ],
  37. "_resolved": "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz",
  38. "_spec": "4.3.8",
  39. "_where": "/Users/lihai/jolijoli/pad_spa",
  40. "author": {
  41. "name": "Typicode",
  42. "email": "typicode@gmail.com"
  43. },
  44. "bin": {
  45. "husky-run": "bin/run.js",
  46. "husky-upgrade": "lib/upgrader/bin.js"
  47. },
  48. "bugs": {
  49. "url": "https://github.com/typicode/husky/issues"
  50. },
  51. "collective": {
  52. "type": "opencollective",
  53. "url": "https://opencollective.com/husky"
  54. },
  55. "dependencies": {
  56. "chalk": "^4.0.0",
  57. "ci-info": "^2.0.0",
  58. "compare-versions": "^3.6.0",
  59. "cosmiconfig": "^7.0.0",
  60. "find-versions": "^4.0.0",
  61. "opencollective-postinstall": "^2.0.2",
  62. "pkg-dir": "^5.0.0",
  63. "please-upgrade-node": "^3.2.0",
  64. "slash": "^3.0.0",
  65. "which-pm-runs": "^1.0.0"
  66. },
  67. "description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
  68. "devDependencies": {
  69. "@types/ci-info": "^2.0.0",
  70. "@types/cosmiconfig": "^6.0.0",
  71. "@types/is-ci": "^2.0.0",
  72. "@types/jest": "^25.2.1",
  73. "@types/mkdirp": "^1.0.0",
  74. "@types/node": "^13.11.1",
  75. "@typescript-eslint/eslint-plugin": "^2.27.0",
  76. "@typescript-eslint/parser": "^2.27.0",
  77. "cross-env": "^7.0.2",
  78. "del": "^5.1.0",
  79. "del-cli": "^3.0.1",
  80. "eslint": "^6.8.0",
  81. "eslint-config-prettier": "^6.10.1",
  82. "eslint-config-xo-space": "^0.24.0",
  83. "eslint-plugin-prettier": "^3.1.2",
  84. "formatree": "^1.0.2",
  85. "jest": "^25.3.0",
  86. "markdown-toc": "^1.2.0",
  87. "mkdirp": "^1.0.4",
  88. "pinst": "^2.1.1",
  89. "pkg-ok": "^2.3.1",
  90. "prettier": "^2.0.4",
  91. "tempy": "^0.5.0",
  92. "ts-jest": "^25.3.1",
  93. "type-fest": "^0.13.1",
  94. "typescript": "^3.8.3"
  95. },
  96. "engines": {
  97. "node": ">=10"
  98. },
  99. "funding": {
  100. "type": "opencollective",
  101. "url": "https://opencollective.com/husky"
  102. },
  103. "homepage": "https://github.com/typicode/husky#readme",
  104. "jest": {
  105. "transform": {
  106. "^.+\\.tsx?$": "ts-jest"
  107. },
  108. "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
  109. "testPathIgnorePatterns": [
  110. "node_modules",
  111. "__env__.ts"
  112. ],
  113. "moduleFileExtensions": [
  114. "ts",
  115. "js",
  116. "json",
  117. "node"
  118. ]
  119. },
  120. "keywords": [
  121. "git",
  122. "hook",
  123. "hooks",
  124. "pre-commit",
  125. "precommit",
  126. "post-commit",
  127. "postcommit",
  128. "pre-push",
  129. "prepush",
  130. "post-merge",
  131. "postmerge",
  132. "test",
  133. "lint"
  134. ],
  135. "license": "MIT",
  136. "name": "husky",
  137. "repository": {
  138. "type": "git",
  139. "url": "git+https://github.com/typicode/husky.git"
  140. },
  141. "scripts": {
  142. "build": "del-cli lib && tsc",
  143. "doc": "markdown-toc -i README.md",
  144. "fix": "npm run lint -- --fix",
  145. "install": "node husky install",
  146. "lint": "eslint . --ext .js,.ts --ignore-path .gitignore",
  147. "postinstall": "opencollective-postinstall || exit 0",
  148. "postpublish": "pinst --disable",
  149. "postversion": "git push && git push --tags",
  150. "prepublishOnly": "npm run test && npm run build && pinst --enable && pkg-ok",
  151. "preuninstall": "node husky uninstall",
  152. "test": "npm run lint && jest",
  153. "version": "jest -u && git add -A src/installer/__tests__/__snapshots__"
  154. },
  155. "version": "4.3.8"
  156. }