package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "pinst",
  3. "version": "3.0.0",
  4. "description": "Enable or disable npm postinstall hook",
  5. "main": "index.js",
  6. "bin": {
  7. "pinst": "bin.js"
  8. },
  9. "files": [
  10. "index.js",
  11. "bin.js"
  12. ],
  13. "scripts": {
  14. "test": "jest",
  15. "lint": "eslint .",
  16. "fix": "npm run lint -- --fix",
  17. "_postinstall": "husky install",
  18. "preversion": "npm test && npm run lint",
  19. "postversion": "git push && git push --tags && npm publish",
  20. "prepack": "node bin --disable",
  21. "postpack": "node bin --enable"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/typicode/pinst.git"
  26. },
  27. "keywords": [
  28. "npm",
  29. "postinstall",
  30. "lifecycle",
  31. "dev",
  32. "devpostinstall"
  33. ],
  34. "author": "typicode <typicode@gmail.com>",
  35. "license": "MIT",
  36. "bugs": {
  37. "url": "https://github.com/typicode/pinst/issues"
  38. },
  39. "homepage": "https://github.com/typicode/pinst#readme",
  40. "devDependencies": {
  41. "eslint": "^7.18.0",
  42. "eslint-config-prettier": "^8.0.0",
  43. "eslint-config-xo-space": "^0.26.0",
  44. "eslint-plugin-node": "^11.1.0",
  45. "eslint-plugin-prettier": "^3.3.1",
  46. "husky": "^5.0.6",
  47. "jest": "^26.6.3",
  48. "prettier": "2.2.1",
  49. "tempy": "^1.0.0"
  50. },
  51. "engines": {
  52. "node": ">=12.0.0"
  53. },
  54. "jest": {
  55. "testURL": "http://localhost/"
  56. }
  57. }