package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "@sv443/jokeapi",
  3. "version": "2.3.3",
  4. "description": "A REST API that serves jokes from many categories while also offering a lot of filtering methods",
  5. "main": "JokeAPI.js",
  6. "homepage": "https://v2.jokeapi.dev",
  7. "scripts": {
  8. "start": "node JokeAPI",
  9. "test": "node tools/test",
  10. "test-colorblind": "node tools/test --colorblind",
  11. "submissions": "node tools/submissions",
  12. "reformat": "node tools/reformat",
  13. "reassign-ids": "node tools/reassign-ids",
  14. "add-joke": "node tools/add-joke",
  15. "add-token": "node tools/add-token",
  16. "validate-jokes": "node tools/validate-jokes",
  17. "validate-ids": "node tools/validate-ids",
  18. "lint": "eslint .",
  19. "all": "npm run validate-jokes && npm run validate-ids && npm run lint && npm run dep-graph && npm run generate-changelog && npm test",
  20. "dep-graph-old": "node dev/madge",
  21. "dep-graph": "depcruise --include-only \"^src|^endpoints|^tests|^tools\" --output-type dot . | dot -T svg > dev/dependencygraph.svg && echo Created dependency graph at \"dev/dependencygraph.svg\"",
  22. "generate-changelog": "node tools/generate-changelog",
  23. "snyk-protect": "snyk protect",
  24. "prepare": "npm run snyk-protect",
  25. "link": "npm link"
  26. },
  27. "bin": {
  28. "jokeapi": "tools/cli.js",
  29. "japi": "tools/cli.js"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "git+https://git.sv443.net/sv443/JokeAPI-v2.git"
  34. },
  35. "keywords": [
  36. "api",
  37. "restful",
  38. "rest-api",
  39. "jokes",
  40. "humor",
  41. "entertainment"
  42. ],
  43. "author": {
  44. "name": "Sv443",
  45. "email": "[email protected]",
  46. "url": "https://sv443.net/"
  47. },
  48. "contributors": [
  49. {
  50. "name": "Liam Townsley",
  51. "email": "[email protected]",
  52. "url": "https://liamtownsley.me",
  53. "contributions": [
  54. "Fixed grammar mistakes",
  55. "Removed dead dependent"
  56. ]
  57. },
  58. {
  59. "name": "ThatCopy",
  60. "url": "https://github.com/ThatCopy",
  61. "contributions": [
  62. "Added Czech translation",
  63. "Fixed grammar mistakes"
  64. ]
  65. },
  66. {
  67. "name": "Sahithyan Kandathasan",
  68. "email": "[email protected]",
  69. "contributions": [
  70. "Added changelog in Markdown format"
  71. ]
  72. },
  73. {
  74. "name": "Afarfeel",
  75. "url": "https://github.com/Afarfeel",
  76. "contributions": [
  77. "Added Italian translation"
  78. ]
  79. },
  80. {
  81. "name": "sournachos",
  82. "url": "https://github.com/sournachos",
  83. "contributions": [
  84. "Added Spanish jokes"
  85. ]
  86. }
  87. ],
  88. "license": "MIT",
  89. "bugs": {
  90. "url": "https://github.com/Sv443-Network/JokeAPI/issues/new/choose",
  91. "email": "[email protected]"
  92. },
  93. "engines": {
  94. "node": ">=11.7.0",
  95. "npm": ">=7.0.0"
  96. },
  97. "dependencies": {
  98. "@pm2/io": "^5.0.0",
  99. "dotenv": "^10.0.0",
  100. "farmhash": "^3.2.1",
  101. "fs-extra": "^10.0.0",
  102. "fuse.js": "^6.4.1",
  103. "http-ratelimit": "^0.2.3",
  104. "import-fresh": "^3.3.0",
  105. "js2xmlparser": "^4.0.1",
  106. "json-to-pretty-yaml": "^1.2.2",
  107. "keypress": "^0.2.1",
  108. "mysql": "^2.18.1",
  109. "node-wrap": "^0.2.0",
  110. "promise-all-sequential": "^1.0.0",
  111. "prompts": "^2.4.2",
  112. "rate-limiter-flexible": "^2.3.2",
  113. "request-ip": "^2.1.3",
  114. "svcorelib": "^1.14.0",
  115. "svjsl": "^1.9.4",
  116. "url-parse": "^1.5.3",
  117. "xmlhttprequest": "^1.8.0",
  118. "xss": "^1.0.10",
  119. "yargs": "^17.2.1"
  120. },
  121. "devDependencies": {
  122. "dependency-cruiser": "^10.0.6",
  123. "eslint": "^8.1.0",
  124. "lodash": "^4.17.21",
  125. "madge": "^4.0.1",
  126. "nyc": "^15.1.0",
  127. "snyk": "^1.742.0",
  128. "table": "^6.0.1",
  129. "tsdef": "^0.0.14"
  130. },
  131. "snyk": true
  132. }