package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "jackspeak",
  3. "version": "2.3.6",
  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 . --loglevel warn",
  42. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
  43. },
  44. "license": "BlueOak-1.0.0",
  45. "prettier": {
  46. "semi": false,
  47. "printWidth": 75,
  48. "tabWidth": 2,
  49. "useTabs": false,
  50. "singleQuote": true,
  51. "jsxSingleQuote": false,
  52. "bracketSameLine": true,
  53. "arrowParens": "avoid",
  54. "endOfLine": "lf"
  55. },
  56. "devDependencies": {
  57. "@types/node": "^20.7.0",
  58. "@types/pkgjs__parseargs": "^0.10.1",
  59. "prettier": "^2.8.6",
  60. "tap": "^18.1.4",
  61. "tshy": "^1.2.2",
  62. "typedoc": "^0.25.1",
  63. "typescript": "^5.2.2"
  64. },
  65. "dependencies": {
  66. "@isaacs/cliui": "^8.0.2"
  67. },
  68. "engines": {
  69. "node": ">=14"
  70. },
  71. "funding": {
  72. "url": "https://github.com/sponsors/isaacs"
  73. },
  74. "repository": {
  75. "type": "git",
  76. "url": "git+https://github.com/isaacs/jackspeak.git"
  77. },
  78. "keywords": [
  79. "argument",
  80. "parser",
  81. "args",
  82. "option",
  83. "flag",
  84. "cli",
  85. "command",
  86. "line",
  87. "parse",
  88. "parsing"
  89. ],
  90. "author": "Isaac Z. Schlueter <i@izs.me>",
  91. "optionalDependencies": {
  92. "@pkgjs/parseargs": "^0.11.0"
  93. }
  94. }