2026-02-16 06:00:13 +00:00

100 lines
2.8 KiB
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@discordjs/voice",
"version": "0.19.0",
"description": "Implementation of the Discord Voice API for Node.js",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"directories": {
"lib": "src",
"test": "__tests__"
},
"files": [
"dist"
],
"contributors": [
"Crawl <icrawltogo@gmail.com>",
"Amish Shah <amishshah.2k@gmail.com>",
"SpaceEEC <spaceeec@yahoo.com>",
"Vlad Frangu <me@vladfrangu.dev>",
"Aura Román <kyradiscord@gmail.com>"
],
"license": "Apache-2.0",
"keywords": [
"discord",
"discord.js",
"audio",
"voice",
"streaming"
],
"repository": {
"type": "git",
"url": "https://github.com/discordjs/discord.js.git",
"directory": "packages/voice"
},
"bugs": {
"url": "https://github.com/discordjs/discord.js/issues"
},
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@types/ws": "^8.18.1",
"discord-api-types": "^0.38.16",
"prism-media": "^1.3.5",
"tslib": "^2.8.1",
"ws": "^8.18.3"
},
"devDependencies": {
"@discordjs/opus": "^0.9.0",
"@favware/cliff-jumper": "^4.1.0",
"@noble/ciphers": "^1.3.0",
"@snazzah/davey": "^0.1.6",
"@types/node": "^22.16.3",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.30.1",
"eslint-config-neon": "^0.2.7",
"eslint-formatter-compact": "^8.40.0",
"eslint-formatter-pretty": "^6.0.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.4",
"typescript": "~5.5.4",
"vitest": "^3.2.4",
"vitest-websocket-mock": "^0.5.0",
"@discordjs/scripts": "^0.1.0",
"@discordjs/api-extractor": "^7.52.7"
},
"engines": {
"node": ">=22.12.0"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"build": "tsc --noEmit && tsup && node scripts/postbuild.mjs",
"build:docs": "tsc -p tsconfig.docs.json",
"test": "vitest run --config ../../vitest.config.ts",
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src __tests__",
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src __tests__",
"fmt": "pnpm run format",
"docs": "pnpm run build:docs && api-extractor run --local --minify && generate-split-documentation",
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/voice/*'",
"release": "cliff-jumper"
}
}