package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "nopt",
  3. "version": "7.2.1",
  4. "description": "Option parsing for Node, supporting types, shorthands, etc. Used by npm.",
  5. "author": "GitHub Inc.",
  6. "main": "lib/nopt.js",
  7. "scripts": {
  8. "test": "tap",
  9. "lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
  10. "postlint": "template-oss-check",
  11. "template-oss-apply": "template-oss-apply --force",
  12. "lintfix": "npm run lint -- --fix",
  13. "snap": "tap",
  14. "posttest": "npm run lint"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git+https://github.com/npm/nopt.git"
  19. },
  20. "bin": {
  21. "nopt": "bin/nopt.js"
  22. },
  23. "license": "ISC",
  24. "dependencies": {
  25. "abbrev": "^2.0.0"
  26. },
  27. "devDependencies": {
  28. "@npmcli/eslint-config": "^4.0.0",
  29. "@npmcli/template-oss": "4.22.0",
  30. "tap": "^16.3.0"
  31. },
  32. "tap": {
  33. "nyc-arg": [
  34. "--exclude",
  35. "tap-snapshots/**"
  36. ]
  37. },
  38. "files": [
  39. "bin/",
  40. "lib/"
  41. ],
  42. "engines": {
  43. "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
  44. },
  45. "templateOSS": {
  46. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  47. "windowsCI": false,
  48. "version": "4.22.0",
  49. "publish": true
  50. }
  51. }