package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "_from": "husky@1.3.1",
  3. "_id": "husky@1.3.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-86U6sVVVf4b5NYSZ0yvv88dRgBSSXXmHaiq5pP4KDj5JVzdwKgBjEtUPOm8hcoytezFwbU+7gotXNhpHdystlg==",
  6. "_location": "/husky",
  7. "_phantomChildren": {
  8. "error-ex": "1.3.2",
  9. "json-parse-better-errors": "1.0.2",
  10. "locate-path": "3.0.0",
  11. "normalize-package-data": "2.5.0"
  12. },
  13. "_requested": {
  14. "type": "version",
  15. "registry": true,
  16. "raw": "husky@1.3.1",
  17. "name": "husky",
  18. "escapedName": "husky",
  19. "rawSpec": "1.3.1",
  20. "saveSpec": null,
  21. "fetchSpec": "1.3.1"
  22. },
  23. "_requiredBy": [
  24. "#DEV:/"
  25. ],
  26. "_resolved": "https://registry.npmjs.org/husky/-/husky-1.3.1.tgz",
  27. "_shasum": "26823e399300388ca2afff11cfa8a86b0033fae0",
  28. "_spec": "husky@1.3.1",
  29. "_where": "E:\\workspace\\cfd-front-admin",
  30. "author": {
  31. "name": "Typicode",
  32. "email": "typicode@gmail.com"
  33. },
  34. "bin": {
  35. "husky-upgrade": "lib/upgrader/bin.js"
  36. },
  37. "bugs": {
  38. "url": "https://github.com/typicode/husky/issues"
  39. },
  40. "bundleDependencies": false,
  41. "dependencies": {
  42. "cosmiconfig": "^5.0.7",
  43. "execa": "^1.0.0",
  44. "find-up": "^3.0.0",
  45. "get-stdin": "^6.0.0",
  46. "is-ci": "^2.0.0",
  47. "pkg-dir": "^3.0.0",
  48. "please-upgrade-node": "^3.1.1",
  49. "read-pkg": "^4.0.1",
  50. "run-node": "^1.0.0",
  51. "slash": "^2.0.0"
  52. },
  53. "deprecated": false,
  54. "description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
  55. "devDependencies": {
  56. "@types/del": "^3.0.1",
  57. "@types/find-up": "^2.1.1",
  58. "@types/get-stdin": "^5.0.1",
  59. "@types/jest": "^23.3.9",
  60. "@types/mkdirp": "^0.5.2",
  61. "@types/node": "^10.12.9",
  62. "del": "^3.0.0",
  63. "del-cli": "^1.1.0",
  64. "formatree": "^1.0.2",
  65. "jest": "^23.6.0",
  66. "mkdirp": "^0.5.1",
  67. "pinst": "^1.1.1",
  68. "pkg-ok": "^2.3.1",
  69. "prettier": "^1.15.2",
  70. "tempy": "^0.2.1",
  71. "ts-jest": "^23.10.4",
  72. "tslint": "^5.11.0",
  73. "tslint-config-prettier": "^1.16.0",
  74. "tslint-plugin-prettier": "^2.0.1",
  75. "typescript": "^3.1.6"
  76. },
  77. "engines": {
  78. "node": ">=6"
  79. },
  80. "homepage": "https://github.com/typicode/husky#readme",
  81. "jest": {
  82. "transform": {
  83. "^.+\\.tsx?$": "ts-jest"
  84. },
  85. "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
  86. "moduleFileExtensions": [
  87. "ts",
  88. "tsx",
  89. "js",
  90. "jsx",
  91. "json",
  92. "node"
  93. ]
  94. },
  95. "keywords": [
  96. "git",
  97. "hook",
  98. "hooks",
  99. "pre-commit",
  100. "precommit",
  101. "post-commit",
  102. "postcommit",
  103. "pre-push",
  104. "prepush",
  105. "post-merge",
  106. "postmerge",
  107. "test",
  108. "lint"
  109. ],
  110. "license": "MIT",
  111. "name": "husky",
  112. "repository": {
  113. "type": "git",
  114. "url": "git+https://github.com/typicode/husky.git"
  115. },
  116. "scripts": {
  117. "build": "del-cli lib && tsc",
  118. "devinstall": "npm run build && npm run _install -- node_modules/husky && node scripts/dev-fix-path",
  119. "devuninstall": "npm run build && npm run preuninstall -- node_modules/husky",
  120. "fix": "npm run lint -- --fix",
  121. "install": "node husky install",
  122. "lint": "tslint 'src/**/*.ts'",
  123. "postpublish": "pinst --disable",
  124. "postversion": "git push && git push --tags",
  125. "prepublishOnly": "npm run test && npm run build && pinst --enable && pkg-ok",
  126. "preuninstall": "node husky uninstall",
  127. "test": "npm run lint && jest",
  128. "version": "jest -u && git add -A src/installer/__tests__/__snapshots__"
  129. },
  130. "version": "1.3.1"
  131. }