package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "author": "GitHub Inc.",
  3. "name": "which",
  4. "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
  5. "version": "5.0.0",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/npm/node-which.git"
  9. },
  10. "main": "lib/index.js",
  11. "bin": {
  12. "node-which": "./bin/which.js"
  13. },
  14. "license": "ISC",
  15. "dependencies": {
  16. "isexe": "^3.1.1"
  17. },
  18. "devDependencies": {
  19. "@npmcli/eslint-config": "^5.0.0",
  20. "@npmcli/template-oss": "4.23.3",
  21. "tap": "^16.3.0"
  22. },
  23. "scripts": {
  24. "test": "tap",
  25. "lint": "npm run eslint",
  26. "postlint": "template-oss-check",
  27. "template-oss-apply": "template-oss-apply --force",
  28. "lintfix": "npm run eslint -- --fix",
  29. "snap": "tap",
  30. "posttest": "npm run lint",
  31. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  32. },
  33. "files": [
  34. "bin/",
  35. "lib/"
  36. ],
  37. "tap": {
  38. "check-coverage": true,
  39. "nyc-arg": [
  40. "--exclude",
  41. "tap-snapshots/**"
  42. ]
  43. },
  44. "engines": {
  45. "node": "^18.17.0 || >=20.5.0"
  46. },
  47. "templateOSS": {
  48. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  49. "version": "4.23.3",
  50. "publish": "true"
  51. }
  52. }