You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

214 lines
5.8KB

  1. {
  2. "_from": "discord.js",
  3. "_id": "discord.js@12.2.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-Ueb/0SOsxXyqwvwFYFe0msMrGqH1OMqpp2Dpbplnlr4MzcRrFWwsBM9gKNZXPVBHWUKiQkwU8AihXBXIvTTSvg==",
  6. "_location": "/discord.js",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "tag",
  10. "registry": true,
  11. "raw": "discord.js",
  12. "name": "discord.js",
  13. "escapedName": "discord.js",
  14. "rawSpec": "",
  15. "saveSpec": null,
  16. "fetchSpec": "latest"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.2.0.tgz",
  23. "_shasum": "31018732e42a495c92655055192221eab2ad11a9",
  24. "_spec": "discord.js",
  25. "_where": "/home/cziermann/git/papoh",
  26. "author": {
  27. "name": "Amish Shah",
  28. "email": "amishshah.2k@gmail.com"
  29. },
  30. "browser": {
  31. "@discordjs/opus": false,
  32. "https": false,
  33. "ws": false,
  34. "erlpack": false,
  35. "prism-media": false,
  36. "opusscript": false,
  37. "node-opus": false,
  38. "tweetnacl": false,
  39. "sodium": false,
  40. "worker_threads": false,
  41. "zlib-sync": false,
  42. "src/sharding/Shard.js": false,
  43. "src/sharding/ShardClientUtil.js": false,
  44. "src/sharding/ShardingManager.js": false,
  45. "src/client/voice/ClientVoiceManager.js": false,
  46. "src/client/voice/VoiceBroadcast.js": false,
  47. "src/client/voice/VoiceConnection.js": false,
  48. "src/client/voice/dispatcher/BroadcastDispatcher.js": false,
  49. "src/client/voice/dispatcher/StreamDispatcher.js": false,
  50. "src/client/voice/networking/VoiceUDPClient.js": false,
  51. "src/client/voice/networking/VoiceWebSocket.js": false,
  52. "src/client/voice/player/AudioPlayer.js": false,
  53. "src/client/voice/player/BasePlayer.js": false,
  54. "src/client/voice/player/BroadcastAudioPlayer.js": false,
  55. "src/client/voice/receiver/PacketHandler.js": false,
  56. "src/client/voice/receiver/Receiver.js": false,
  57. "src/client/voice/util/PlayInterface.js": false,
  58. "src/client/voice/util/Secretbox.js": false,
  59. "src/client/voice/util/Silence.js": false,
  60. "src/client/voice/util/VolumeInterface.js": false
  61. },
  62. "bugs": {
  63. "url": "https://github.com/discordjs/discord.js/issues"
  64. },
  65. "bundleDependencies": false,
  66. "commitlint": {
  67. "extends": [
  68. "@commitlint/config-angular"
  69. ],
  70. "rules": {
  71. "scope-case": [
  72. 2,
  73. "always",
  74. "pascal-case"
  75. ],
  76. "type-enum": [
  77. 2,
  78. "always",
  79. [
  80. "chore",
  81. "build",
  82. "ci",
  83. "docs",
  84. "feat",
  85. "fix",
  86. "perf",
  87. "refactor",
  88. "revert",
  89. "style",
  90. "test"
  91. ]
  92. ]
  93. }
  94. },
  95. "dependencies": {
  96. "@discordjs/collection": "^0.1.5",
  97. "@discordjs/form-data": "^3.0.1",
  98. "abort-controller": "^3.0.0",
  99. "node-fetch": "^2.6.0",
  100. "prism-media": "^1.2.0",
  101. "setimmediate": "^1.0.5",
  102. "tweetnacl": "^1.0.3",
  103. "ws": "^7.2.1"
  104. },
  105. "deprecated": false,
  106. "description": "A powerful library for interacting with the Discord API",
  107. "devDependencies": {
  108. "@commitlint/cli": "^8.3.5",
  109. "@commitlint/config-angular": "^8.3.4",
  110. "@types/node": "^10.12.24",
  111. "@types/ws": "^7.2.1",
  112. "cross-env": "^7.0.2",
  113. "discord.js-docgen": "github:discordjs/docgen",
  114. "dtslint": "^3.0.0",
  115. "eslint": "^6.8.0",
  116. "eslint-config-prettier": "^6.10.0",
  117. "eslint-plugin-import": "^2.20.1",
  118. "eslint-plugin-prettier": "^3.1.2",
  119. "husky": "^4.2.3",
  120. "jest": "^25.1.0",
  121. "json-filter-loader": "^1.0.0",
  122. "lint-staged": "^10.0.8",
  123. "prettier": "^1.19.1",
  124. "terser-webpack-plugin": "^1.2.2",
  125. "tslint": "^6.0.0",
  126. "typescript": "^3.8.2",
  127. "webpack": "^4.41.6",
  128. "webpack-cli": "^3.3.11"
  129. },
  130. "engines": {
  131. "node": ">=12.0.0"
  132. },
  133. "exports": {
  134. ".": [
  135. {
  136. "require": "./src/index.js",
  137. "import": "./esm/discord.mjs"
  138. },
  139. "./src/index.js"
  140. ],
  141. "./esm": "./esm/discord.mjs"
  142. },
  143. "homepage": "https://github.com/discordjs/discord.js#readme",
  144. "husky": {
  145. "hooks": {
  146. "pre-commit": "lint-staged",
  147. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  148. }
  149. },
  150. "keywords": [
  151. "discord",
  152. "api",
  153. "bot",
  154. "client",
  155. "node",
  156. "discordapp"
  157. ],
  158. "license": "Apache-2.0",
  159. "lint-staged": {
  160. "*.js": "eslint --fix",
  161. "*.ts": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf"
  162. },
  163. "main": "./src/index",
  164. "name": "discord.js",
  165. "peerDependencies": {
  166. "bufferutil": "^4.0.1",
  167. "erlpack": "discordapp/erlpack",
  168. "libsodium-wrappers": "^0.7.6",
  169. "sodium": "^3.0.2",
  170. "utf-8-validate": "^5.0.2",
  171. "zlib-sync": "^0.1.6"
  172. },
  173. "peerDependenciesMeta": {
  174. "bufferutil": {
  175. "optional": true
  176. },
  177. "erlpack": {
  178. "optional": true
  179. },
  180. "libsodium-wrappers": {
  181. "optional": true
  182. },
  183. "sodium": {
  184. "optional": true
  185. },
  186. "utf-8-validate": {
  187. "optional": true
  188. },
  189. "zlib-sync": {
  190. "optional": true
  191. }
  192. },
  193. "repository": {
  194. "type": "git",
  195. "url": "git+https://github.com/discordjs/discord.js.git"
  196. },
  197. "runkitExampleFilename": "./docs/examples/ping.js",
  198. "scripts": {
  199. "build:browser": "webpack",
  200. "docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
  201. "docs:test": "docgen --source src --custom docs/index.yml",
  202. "lint": "eslint src",
  203. "lint:fix": "eslint src --fix",
  204. "lint:typings": "tslint typings/index.d.ts",
  205. "prepublishOnly": "npm run test && cross-env NODE_ENV=production npm run build:browser",
  206. "prettier": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf src/**/*.js typings/**/*.ts",
  207. "test": "npm run lint && npm run docs:test && npm run lint:typings",
  208. "test:typescript": "tsc"
  209. },
  210. "types": "./typings/index.d.ts",
  211. "unpkg": "./webpack/discord.min.js",
  212. "version": "12.2.0"
  213. }