{ "$schema": "https://json.schemastore.org/package.json", "name": "discord-audio-stream", "version": "x.x.x", "license": "LGPL-3.0-only", "description": "A small Discord voice audio streaming library with managed ffmpeg playback.", "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", "files": [ "dist" ], "directories": { "lib": "src" }, "scripts": { "version:place": "node set-version.js set-ci-version", "version:check": "node set-version.js check-placeholder", "version:fix": "node set-version.js fix-placeholder", "lint": "eslint . --ext .ts,.tsx,.js,.cjs,.mjs", "lint:fix": "eslint . --ext .ts,.tsx,.js,.cjs,.mjs --fix", "lint:types": "eslint . --config eslint.config.typeaware.cjs --ext .ts,.tsx", "format": "prettier --write .", "format:check": "prettier --check .", "typecheck": "tsc --noEmit", "test": "jest --runInBand", "check": "npm run version:check && npm run format:check && npm run lint && npm run lint:types && npm run typecheck && npm run test", "fix": "npm run version:fix && npm run format && npm run lint:fix", "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsup && tsc -p tsconfig.build.json && node scripts/copy-dts.cjs", "prepare": "husky" }, "repository": { "type": "git", "url": "https://git.lechner-systems.at/fraujulian/Discord-Audio-Stream.git" }, "bugs": "https://git.lechner-systems.at/fraujulian/Discord-Audio-Stream/issues", "funding": "https://ko-fi.com/FrauJulian", "keywords": [ "discord", "discord.js", "audio", "voice", "streaming", "discordjs/voice", "music", "24/7" ], "contributors": [ "Julian Lechner - FrauJulian " ], "lint-staged": { "*.{ts,tsx,js,cjs,mjs}": [ "eslint --fix", "prettier --write" ], "*.{json,md,yml,yaml}": [ "prettier --write" ] }, "devDependencies": { "@jest/globals": "^30.4.1", "@types/ejs": "^3.1.5", "@types/node": "^26.0.0", "@typescript-eslint/eslint-plugin": "^8.61.1", "@typescript-eslint/parser": "^8.61.1", "eslint": "^9.39.4", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.5", "eslint-plugin-import": "^2.32.0", "eslint-plugin-n": "^18.1.0", "eslint-plugin-promise": "^7.3.0", "eslint-plugin-unused-imports": "^4.4.1", "husky": "^9.1.7", "jest": "^30.4.2", "prettier": "^3.8.4", "ts-jest": "^29.4.11", "tsup": "^8.5.1", "typescript": "^6.0.3" }, "peerDependencies": { "@discordjs/voice": "^0.19.2", "@snazzah/davey": "^0.1.12", "ffmpeg-static": "^5.3.0", "libsodium-wrappers": "^0.8.4", "opusscript": "^0.0.8", "prism-media": "^1.3.5" }, "peerDependenciesMeta": { "ffmpeg-static": { "optional": true }, "libsodium-wrappers": { "optional": true } }, "overrides": { "esbuild": "^0.28.1" }, "engines": { "node": ">=22.22.3" }, "private": false, "publishConfig": { "access": "public" } }