package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "semver",
  3. "version": "7.7.1",
  4. "description": "The semantic version parser used by npm.",
  5. "main": "index.js",
  6. "scripts": {
  7. "test": "tap",
  8. "snap": "tap",
  9. "lint": "npm run eslint",
  10. "postlint": "template-oss-check",
  11. "lintfix": "npm run eslint -- --fix",
  12. "posttest": "npm run lint",
  13. "template-oss-apply": "template-oss-apply --force",
  14. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  15. },
  16. "devDependencies": {
  17. "@npmcli/eslint-config": "^5.0.0",
  18. "@npmcli/template-oss": "4.23.4",
  19. "benchmark": "^2.1.4",
  20. "tap": "^16.0.0"
  21. },
  22. "license": "ISC",
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/npm/node-semver.git"
  26. },
  27. "bin": {
  28. "semver": "bin/semver.js"
  29. },
  30. "files": [
  31. "bin/",
  32. "lib/",
  33. "classes/",
  34. "functions/",
  35. "internal/",
  36. "ranges/",
  37. "index.js",
  38. "preload.js",
  39. "range.bnf"
  40. ],
  41. "tap": {
  42. "timeout": 30,
  43. "coverage-map": "map.js",
  44. "nyc-arg": [
  45. "--exclude",
  46. "tap-snapshots/**"
  47. ]
  48. },
  49. "engines": {
  50. "node": ">=10"
  51. },
  52. "author": "GitHub Inc.",
  53. "templateOSS": {
  54. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  55. "version": "4.23.4",
  56. "engines": ">=10",
  57. "distPaths": [
  58. "classes/",
  59. "functions/",
  60. "internal/",
  61. "ranges/",
  62. "index.js",
  63. "preload.js",
  64. "range.bnf"
  65. ],
  66. "allowPaths": [
  67. "/classes/",
  68. "/functions/",
  69. "/internal/",
  70. "/ranges/",
  71. "/index.js",
  72. "/preload.js",
  73. "/range.bnf",
  74. "/benchmarks"
  75. ],
  76. "publish": "true"
  77. }
  78. }