package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@npmcli/package-json",
  3. "version": "6.1.1",
  4. "description": "Programmatic API to update package.json",
  5. "keywords": [
  6. "npm",
  7. "oss"
  8. ],
  9. "repository": {
  10. "type": "git",
  11. "url": "git+https://github.com/npm/package-json.git"
  12. },
  13. "license": "ISC",
  14. "author": "GitHub Inc.",
  15. "main": "lib/index.js",
  16. "files": [
  17. "bin/",
  18. "lib/"
  19. ],
  20. "scripts": {
  21. "snap": "tap",
  22. "test": "tap",
  23. "lint": "npm run eslint",
  24. "lintfix": "npm run eslint -- --fix",
  25. "posttest": "npm run lint",
  26. "postsnap": "npm run lintfix --",
  27. "postlint": "template-oss-check",
  28. "template-oss-apply": "template-oss-apply --force",
  29. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  30. },
  31. "dependencies": {
  32. "@npmcli/git": "^6.0.0",
  33. "glob": "^10.2.2",
  34. "hosted-git-info": "^8.0.0",
  35. "json-parse-even-better-errors": "^4.0.0",
  36. "proc-log": "^5.0.0",
  37. "semver": "^7.5.3",
  38. "validate-npm-package-license": "^3.0.4"
  39. },
  40. "devDependencies": {
  41. "@npmcli/eslint-config": "^5.1.0",
  42. "@npmcli/template-oss": "4.23.6",
  43. "read-package-json": "^7.0.0",
  44. "read-package-json-fast": "^4.0.0",
  45. "tap": "^16.0.1"
  46. },
  47. "engines": {
  48. "node": "^18.17.0 || >=20.5.0"
  49. },
  50. "templateOSS": {
  51. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  52. "version": "4.23.6",
  53. "publish": "true"
  54. },
  55. "tap": {
  56. "nyc-arg": [
  57. "--exclude",
  58. "tap-snapshots/**"
  59. ]
  60. }
  61. }