93 lines
2.4 KiB
JSON
93 lines
2.4 KiB
JSON
{
|
|
"name": "@discordjs/voice",
|
|
"version": "0.7.5",
|
|
"description": "Implementation of the Discord Voice API for Node.js",
|
|
"scripts": {
|
|
"pretest": "npm run build",
|
|
"test": "jest --pass-with-no-tests",
|
|
"test:ci": "jest --no-stack-trace --verbose --pass-with-no-tests",
|
|
"prebuild": "npm run lint",
|
|
"build": "tsup",
|
|
"postbuild": "node scripts/postbuild.mjs",
|
|
"lint": "eslint src --ext mjs,js,ts",
|
|
"lint:fix": "eslint src --ext mjs,js,ts --fix",
|
|
"format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
|
"prepare": "is-ci || husky install",
|
|
"docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
|
|
"//prepublishOnly": "npm run lint && npm run test",
|
|
"release": "standard-version --preset angular"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"typings": "./dist/index.d.ts",
|
|
"exports": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"directories": {
|
|
"lib": "src",
|
|
"test": "__tests__"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"author": "Amish Shah <amish@shah.gg>",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"discord",
|
|
"discord.js",
|
|
"audio",
|
|
"voice",
|
|
"streaming"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/discordjs/voice.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/discordjs/voice/issues"
|
|
},
|
|
"homepage": "https://github.com/discordjs/voice",
|
|
"dependencies": {
|
|
"@types/ws": "^8.2.0",
|
|
"discord-api-types": "^0.24.0",
|
|
"prism-media": "^1.3.2",
|
|
"tiny-typed-emitter": "^2.1.0",
|
|
"tslib": "^2.3.1",
|
|
"ws": "^8.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.0",
|
|
"@babel/preset-env": "^7.16.0",
|
|
"@babel/preset-typescript": "^7.16.0",
|
|
"@commitlint/cli": "^14.1.0",
|
|
"@commitlint/config-angular": "^14.1.0",
|
|
"@discordjs/ts-docgen": "^0.3.2",
|
|
"@types/jest": "^27.0.2",
|
|
"@types/node": "^16.11.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
|
"@typescript-eslint/parser": "^5.3.1",
|
|
"eslint": "^8.2.0",
|
|
"eslint-config-marine": "^9.0.6",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"husky": "^7.0.4",
|
|
"is-ci": "^3.0.1",
|
|
"jest": "^27.3.1",
|
|
"jest-websocket-mock": "^2.2.1",
|
|
"lint-staged": "^11.2.6",
|
|
"mock-socket": "^9.0.7",
|
|
"prettier": "^2.4.1",
|
|
"standard-version": "^9.3.2",
|
|
"tsup": "^5.7.0",
|
|
"typedoc": "^0.22.8",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=7.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|