package.json 1.6 KB

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