|
- {
- "_from": "discord.js",
- "_id": "discord.js@12.2.0",
- "_inBundle": false,
- "_integrity": "sha512-Ueb/0SOsxXyqwvwFYFe0msMrGqH1OMqpp2Dpbplnlr4MzcRrFWwsBM9gKNZXPVBHWUKiQkwU8AihXBXIvTTSvg==",
- "_location": "/discord.js",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "discord.js",
- "name": "discord.js",
- "escapedName": "discord.js",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.2.0.tgz",
- "_shasum": "31018732e42a495c92655055192221eab2ad11a9",
- "_spec": "discord.js",
- "_where": "/home/cziermann/git/papoh",
- "author": {
- "name": "Amish Shah",
- "email": "amishshah.2k@gmail.com"
- },
- "browser": {
- "@discordjs/opus": false,
- "https": false,
- "ws": false,
- "erlpack": false,
- "prism-media": false,
- "opusscript": false,
- "node-opus": false,
- "tweetnacl": false,
- "sodium": false,
- "worker_threads": false,
- "zlib-sync": false,
- "src/sharding/Shard.js": false,
- "src/sharding/ShardClientUtil.js": false,
- "src/sharding/ShardingManager.js": false,
- "src/client/voice/ClientVoiceManager.js": false,
- "src/client/voice/VoiceBroadcast.js": false,
- "src/client/voice/VoiceConnection.js": false,
- "src/client/voice/dispatcher/BroadcastDispatcher.js": false,
- "src/client/voice/dispatcher/StreamDispatcher.js": false,
- "src/client/voice/networking/VoiceUDPClient.js": false,
- "src/client/voice/networking/VoiceWebSocket.js": false,
- "src/client/voice/player/AudioPlayer.js": false,
- "src/client/voice/player/BasePlayer.js": false,
- "src/client/voice/player/BroadcastAudioPlayer.js": false,
- "src/client/voice/receiver/PacketHandler.js": false,
- "src/client/voice/receiver/Receiver.js": false,
- "src/client/voice/util/PlayInterface.js": false,
- "src/client/voice/util/Secretbox.js": false,
- "src/client/voice/util/Silence.js": false,
- "src/client/voice/util/VolumeInterface.js": false
- },
- "bugs": {
- "url": "https://github.com/discordjs/discord.js/issues"
- },
- "bundleDependencies": false,
- "commitlint": {
- "extends": [
- "@commitlint/config-angular"
- ],
- "rules": {
- "scope-case": [
- 2,
- "always",
- "pascal-case"
- ],
- "type-enum": [
- 2,
- "always",
- [
- "chore",
- "build",
- "ci",
- "docs",
- "feat",
- "fix",
- "perf",
- "refactor",
- "revert",
- "style",
- "test"
- ]
- ]
- }
- },
- "dependencies": {
- "@discordjs/collection": "^0.1.5",
- "@discordjs/form-data": "^3.0.1",
- "abort-controller": "^3.0.0",
- "node-fetch": "^2.6.0",
- "prism-media": "^1.2.0",
- "setimmediate": "^1.0.5",
- "tweetnacl": "^1.0.3",
- "ws": "^7.2.1"
- },
- "deprecated": false,
- "description": "A powerful library for interacting with the Discord API",
- "devDependencies": {
- "@commitlint/cli": "^8.3.5",
- "@commitlint/config-angular": "^8.3.4",
- "@types/node": "^10.12.24",
- "@types/ws": "^7.2.1",
- "cross-env": "^7.0.2",
- "discord.js-docgen": "github:discordjs/docgen",
- "dtslint": "^3.0.0",
- "eslint": "^6.8.0",
- "eslint-config-prettier": "^6.10.0",
- "eslint-plugin-import": "^2.20.1",
- "eslint-plugin-prettier": "^3.1.2",
- "husky": "^4.2.3",
- "jest": "^25.1.0",
- "json-filter-loader": "^1.0.0",
- "lint-staged": "^10.0.8",
- "prettier": "^1.19.1",
- "terser-webpack-plugin": "^1.2.2",
- "tslint": "^6.0.0",
- "typescript": "^3.8.2",
- "webpack": "^4.41.6",
- "webpack-cli": "^3.3.11"
- },
- "engines": {
- "node": ">=12.0.0"
- },
- "exports": {
- ".": [
- {
- "require": "./src/index.js",
- "import": "./esm/discord.mjs"
- },
- "./src/index.js"
- ],
- "./esm": "./esm/discord.mjs"
- },
- "homepage": "https://github.com/discordjs/discord.js#readme",
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged",
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
- }
- },
- "keywords": [
- "discord",
- "api",
- "bot",
- "client",
- "node",
- "discordapp"
- ],
- "license": "Apache-2.0",
- "lint-staged": {
- "*.js": "eslint --fix",
- "*.ts": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf"
- },
- "main": "./src/index",
- "name": "discord.js",
- "peerDependencies": {
- "bufferutil": "^4.0.1",
- "erlpack": "discordapp/erlpack",
- "libsodium-wrappers": "^0.7.6",
- "sodium": "^3.0.2",
- "utf-8-validate": "^5.0.2",
- "zlib-sync": "^0.1.6"
- },
- "peerDependenciesMeta": {
- "bufferutil": {
- "optional": true
- },
- "erlpack": {
- "optional": true
- },
- "libsodium-wrappers": {
- "optional": true
- },
- "sodium": {
- "optional": true
- },
- "utf-8-validate": {
- "optional": true
- },
- "zlib-sync": {
- "optional": true
- }
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/discordjs/discord.js.git"
- },
- "runkitExampleFilename": "./docs/examples/ping.js",
- "scripts": {
- "build:browser": "webpack",
- "docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
- "docs:test": "docgen --source src --custom docs/index.yml",
- "lint": "eslint src",
- "lint:fix": "eslint src --fix",
- "lint:typings": "tslint typings/index.d.ts",
- "prepublishOnly": "npm run test && cross-env NODE_ENV=production npm run build:browser",
- "prettier": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf src/**/*.js typings/**/*.ts",
- "test": "npm run lint && npm run docs:test && npm run lint:typings",
- "test:typescript": "tsc"
- },
- "types": "./typings/index.d.ts",
- "unpkg": "./webpack/discord.min.js",
- "version": "12.2.0"
- }
|