package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "nopt",
  3. "version": "6.0.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. "preversion": "npm test",
  9. "postversion": "npm publish",
  10. "prepublishOnly": "git push origin --follow-tags",
  11. "test": "tap",
  12. "lint": "eslint \"**/*.js\"",
  13. "postlint": "template-oss-check",
  14. "template-oss-apply": "template-oss-apply --force",
  15. "lintfix": "npm run lint -- --fix",
  16. "snap": "tap",
  17. "posttest": "npm run lint"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/npm/nopt.git"
  22. },
  23. "bin": {
  24. "nopt": "bin/nopt.js"
  25. },
  26. "license": "ISC",
  27. "dependencies": {
  28. "abbrev": "^1.0.0"
  29. },
  30. "devDependencies": {
  31. "@npmcli/eslint-config": "^3.0.1",
  32. "@npmcli/template-oss": "3.5.0",
  33. "tap": "^16.3.0"
  34. },
  35. "tap": {
  36. "lines": 87,
  37. "functions": 91,
  38. "branches": 81,
  39. "statements": 87
  40. },
  41. "files": [
  42. "bin/",
  43. "lib/"
  44. ],
  45. "engines": {
  46. "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
  47. },
  48. "templateOSS": {
  49. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  50. "windowsCI": false,
  51. "version": "3.5.0"
  52. }
  53. }