package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "read-package-json",
  3. "version": "6.0.4",
  4. "author": "GitHub Inc.",
  5. "description": "The thing npm uses to read package.json files with semantics and defaults and validation",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/npm/read-package-json.git"
  9. },
  10. "main": "lib/read-json.js",
  11. "scripts": {
  12. "prerelease": "npm t",
  13. "postrelease": "npm publish && git push --follow-tags",
  14. "release": "standard-version -s",
  15. "test": "tap",
  16. "npmclilint": "npmcli-lint",
  17. "lint": "eslint \"**/*.js\"",
  18. "lintfix": "npm run lint -- --fix",
  19. "posttest": "npm run lint",
  20. "postsnap": "npm run lintfix --",
  21. "postlint": "template-oss-check",
  22. "snap": "tap",
  23. "template-oss-apply": "template-oss-apply --force"
  24. },
  25. "dependencies": {
  26. "glob": "^10.2.2",
  27. "json-parse-even-better-errors": "^3.0.0",
  28. "normalize-package-data": "^5.0.0",
  29. "npm-normalize-package-bin": "^3.0.0"
  30. },
  31. "devDependencies": {
  32. "@npmcli/eslint-config": "^4.0.0",
  33. "@npmcli/template-oss": "4.15.1",
  34. "tap": "^16.0.1"
  35. },
  36. "license": "ISC",
  37. "files": [
  38. "bin/",
  39. "lib/"
  40. ],
  41. "engines": {
  42. "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
  43. },
  44. "tap": {
  45. "branches": 73,
  46. "functions": 77,
  47. "lines": 77,
  48. "statements": 77,
  49. "nyc-arg": [
  50. "--exclude",
  51. "tap-snapshots/**"
  52. ]
  53. },
  54. "templateOSS": {
  55. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  56. "version": "4.15.1",
  57. "publish": "true"
  58. }
  59. }