package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "jackspeak",
  3. "version": "4.0.2",
  4. "description": "A very strict and proper argument parser.",
  5. "tshy": {
  6. "main": true,
  7. "exports": {
  8. "./package.json": "./package.json",
  9. ".": "./src/index.js"
  10. }
  11. },
  12. "main": "./dist/commonjs/index.js",
  13. "types": "./dist/commonjs/index.d.ts",
  14. "type": "module",
  15. "exports": {
  16. "./package.json": "./package.json",
  17. ".": {
  18. "import": {
  19. "types": "./dist/esm/index.d.ts",
  20. "default": "./dist/esm/index.js"
  21. },
  22. "require": {
  23. "types": "./dist/commonjs/index.d.ts",
  24. "default": "./dist/commonjs/index.js"
  25. }
  26. }
  27. },
  28. "files": [
  29. "dist"
  30. ],
  31. "scripts": {
  32. "build-examples": "for i in examples/*.js ; do node $i -h > ${i/.js/.txt}; done",
  33. "preversion": "npm test",
  34. "postversion": "npm publish",
  35. "prepublishOnly": "git push origin --follow-tags",
  36. "prepare": "tshy",
  37. "pretest": "npm run prepare",
  38. "presnap": "npm run prepare",
  39. "test": "tap",
  40. "snap": "tap",
  41. "format": "prettier --write . --log-level warn",
  42. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
  43. },
  44. "license": "BlueOak-1.0.0",
  45. "prettier": {
  46. "experimentalTernaries": true,
  47. "semi": false,
  48. "printWidth": 75,
  49. "tabWidth": 2,
  50. "useTabs": false,
  51. "singleQuote": true,
  52. "jsxSingleQuote": false,
  53. "bracketSameLine": true,
  54. "arrowParens": "avoid",
  55. "endOfLine": "lf"
  56. },
  57. "devDependencies": {
  58. "@types/node": "^22.6.0",
  59. "prettier": "^3.3.3",
  60. "tap": "^21.0.1",
  61. "tshy": "^3.0.2",
  62. "typedoc": "^0.26.7"
  63. },
  64. "dependencies": {
  65. "@isaacs/cliui": "^8.0.2"
  66. },
  67. "engines": {
  68. "node": "20 || >=22"
  69. },
  70. "funding": {
  71. "url": "https://github.com/sponsors/isaacs"
  72. },
  73. "repository": {
  74. "type": "git",
  75. "url": "git+https://github.com/isaacs/jackspeak.git"
  76. },
  77. "keywords": [
  78. "argument",
  79. "parser",
  80. "args",
  81. "option",
  82. "flag",
  83. "cli",
  84. "command",
  85. "line",
  86. "parse",
  87. "parsing"
  88. ],
  89. "author": "Isaac Z. Schlueter <i@izs.me>",
  90. "tap": {
  91. "typecheck": true
  92. },
  93. "module": "./dist/esm/index.js"
  94. }