mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
121 lines
2.9 KiB
JSON
121 lines
2.9 KiB
JSON
{
|
|
"name": "discord.js",
|
|
"version": "13.0.0-dev",
|
|
"description": "A powerful library for interacting with the Discord API",
|
|
"main": "./src/index.js",
|
|
"types": "./typings/index.d.ts",
|
|
"exports": {
|
|
".": [
|
|
{
|
|
"require": "./src/index.js",
|
|
"import": "./esm/discord.mjs"
|
|
},
|
|
"./src/index.js"
|
|
],
|
|
"./esm": "./esm/discord.mjs"
|
|
},
|
|
"scripts": {
|
|
"test": "npm run lint && npm run docs:test && npm run lint:typings",
|
|
"test:typescript": "tsc",
|
|
"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",
|
|
"prettier": "prettier --write src/**/*.js typings/**/*.ts",
|
|
"prepublishOnly": "npm run test",
|
|
"prepare": "husky install"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/discordjs/discord.js.git"
|
|
},
|
|
"keywords": [
|
|
"discord",
|
|
"api",
|
|
"bot",
|
|
"client",
|
|
"node",
|
|
"discordapp"
|
|
],
|
|
"author": "Amish Shah <amish@shah.gg>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/discordjs/discord.js/issues"
|
|
},
|
|
"homepage": "https://github.com/discordjs/discord.js#readme",
|
|
"runkitExampleFilename": "./docs/examples/ping.js",
|
|
"dependencies": {
|
|
"@discordjs/collection": "^0.1.6",
|
|
"@discordjs/form-data": "^3.0.1",
|
|
"@sapphire/async-queue": "^1.1.2",
|
|
"abort-controller": "^3.0.0",
|
|
"node-fetch": "^2.6.1",
|
|
"prism-media": "^1.2.9",
|
|
"tweetnacl": "^1.0.3",
|
|
"ws": "^7.4.5"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@commitlint/config-angular": "^12.1.4",
|
|
"@discordjs/docgen": "^0.10.0",
|
|
"@types/node": "^12.12.6",
|
|
"@types/ws": "^7.4.4",
|
|
"cross-env": "^7.0.3",
|
|
"discord-api-types": "^0.18.1",
|
|
"dtslint": "^4.0.9",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.23.3",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"husky": "^6.0.0",
|
|
"jest": "^26.6.3",
|
|
"prettier": "^2.3.0",
|
|
"pretty-quick": "^3.1.0",
|
|
"tslint": "^6.1.3",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"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",
|
|
"types",
|
|
"workflow",
|
|
"wip"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"printWidth": 120,
|
|
"trailingComma": "all",
|
|
"endOfLine": "lf",
|
|
"arrowParens": "avoid"
|
|
}
|
|
}
|