package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "hosted-git-info",
  3. "version": "8.1.0",
  4. "description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab",
  5. "main": "./lib/index.js",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/npm/hosted-git-info.git"
  9. },
  10. "keywords": [
  11. "git",
  12. "github",
  13. "bitbucket",
  14. "gitlab"
  15. ],
  16. "author": "GitHub Inc.",
  17. "license": "ISC",
  18. "bugs": {
  19. "url": "https://github.com/npm/hosted-git-info/issues"
  20. },
  21. "homepage": "https://github.com/npm/hosted-git-info",
  22. "scripts": {
  23. "posttest": "npm run lint",
  24. "snap": "tap",
  25. "test": "tap",
  26. "test:coverage": "tap --coverage-report=html",
  27. "lint": "npm run eslint",
  28. "postlint": "template-oss-check",
  29. "lintfix": "npm run eslint -- --fix",
  30. "template-oss-apply": "template-oss-apply --force",
  31. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  32. },
  33. "dependencies": {
  34. "lru-cache": "^10.0.1"
  35. },
  36. "devDependencies": {
  37. "@npmcli/eslint-config": "^5.0.0",
  38. "@npmcli/template-oss": "4.24.3",
  39. "tap": "^16.0.1"
  40. },
  41. "files": [
  42. "bin/",
  43. "lib/"
  44. ],
  45. "engines": {
  46. "node": "^18.17.0 || >=20.5.0"
  47. },
  48. "tap": {
  49. "color": 1,
  50. "coverage": true,
  51. "nyc-arg": [
  52. "--exclude",
  53. "tap-snapshots/**"
  54. ]
  55. },
  56. "templateOSS": {
  57. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  58. "version": "4.24.3",
  59. "publish": "true"
  60. }
  61. }