110 lines
3.3 KiB
JSON
110 lines
3.3 KiB
JSON
{
|
|
"name": "discord-audio-stream",
|
|
"version": "1.0.DDDhhmm",
|
|
"license": "LGPL-2.1-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": {
|
|
"update:dependencies": "npx npm-check-updates --upgrade",
|
|
"release:version": "node set-version.js",
|
|
"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 format:check && npm run lint && npm run lint:types && npm run typecheck && npm run test",
|
|
"build": "del-cli dist && tsup && tsc -p tsconfig.build.json && node scripts/copy-dts.cjs",
|
|
"prepare": "husky"
|
|
},
|
|
"repository": "https://github.com/FrauJulian/Discord-Audio-Stream",
|
|
"bugs": "https://github.com/FrauJulian/Discord-Audio-Stream/issues",
|
|
"funding": "https://ko-fi.com/FrauJulian",
|
|
"keywords": [
|
|
"discordjs",
|
|
"discordjs/voice",
|
|
"music",
|
|
"voice",
|
|
"audio",
|
|
"24/7"
|
|
],
|
|
"contributors": [
|
|
"FrauJulian - Lechner Julian <fraujulian@lechner.top>"
|
|
],
|
|
"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": "^25.9.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.59.4",
|
|
"@typescript-eslint/parser": "^8.59.4",
|
|
"del-cli": "^7.0.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-n": "^18.0.1",
|
|
"eslint-plugin-promise": "^7.3.0",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"husky": "^9.1.7",
|
|
"jest": "^30.4.2",
|
|
"npm-check-updates": "^22.2.0",
|
|
"prettier": "^3.8.3",
|
|
"ts-jest": "^29.4.11",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@discordjs/voice": "^0.19.0",
|
|
"@snazzah/davey": "^0.1.8",
|
|
"ffmpeg-static": "^5.2.0",
|
|
"libsodium-wrappers": "^0.7.15",
|
|
"opusscript": "^0.0.8",
|
|
"prism-media": "^1.3.5"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"ffmpeg-static": {
|
|
"optional": true
|
|
},
|
|
"libsodium-wrappers": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=22.12.0"
|
|
},
|
|
"private": false,
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|