package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "nopt",
  3. "version": "8.1.0",
  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": "npm run eslint",
  10. "postlint": "template-oss-check",
  11. "template-oss-apply": "template-oss-apply --force",
  12. "lintfix": "npm run eslint -- --fix",
  13. "snap": "tap",
  14. "posttest": "npm run lint",
  15. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/npm/nopt.git"
  20. },
  21. "bin": {
  22. "nopt": "bin/nopt.js"
  23. },
  24. "license": "ISC",
  25. "dependencies": {
  26. "abbrev": "^3.0.0"
  27. },
  28. "devDependencies": {
  29. "@npmcli/eslint-config": "^5.0.0",
  30. "@npmcli/template-oss": "4.23.6",
  31. "tap": "^16.3.0"
  32. },
  33. "tap": {
  34. "nyc-arg": [
  35. "--exclude",
  36. "tap-snapshots/**"
  37. ]
  38. },
  39. "files": [
  40. "bin/",
  41. "lib/"
  42. ],
  43. "engines": {
  44. "node": "^18.17.0 || >=20.5.0"
  45. },
  46. "templateOSS": {
  47. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  48. "windowsCI": false,
  49. "version": "4.23.6",
  50. "publish": true
  51. }
  52. }