2024-05-01 02:44:20 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
|
|
"name": "discord.js",
|
2024-07-20 19:38:12 +00:00
|
|
|
"version": "14.15.3",
|
2024-05-01 02:44:20 +00:00
|
|
|
"description": "A powerful library for interacting with the Discord API",
|
|
|
|
"main": "./src/index.js",
|
|
|
|
"types": "./typings/index.d.ts",
|
2024-07-20 19:38:12 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": {
|
|
|
|
"types": "./typings/index.d.mts",
|
|
|
|
"default": "./src/index.js"
|
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./typings/index.d.ts",
|
|
|
|
"default": "./src/index.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-05-01 02:44:20 +00:00
|
|
|
"directories": {
|
|
|
|
"lib": "src",
|
|
|
|
"test": "test"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"src",
|
|
|
|
"typings"
|
|
|
|
],
|
|
|
|
"contributors": [
|
|
|
|
"Crawl <icrawltogo@gmail.com>",
|
|
|
|
"Amish Shah <amishshah.2k@gmail.com>",
|
|
|
|
"Vlad Frangu <kingdgrizzle@gmail.com>",
|
|
|
|
"SpaceEEC <spaceeec@yahoo.com>",
|
|
|
|
"Aura Román <kyradiscord@gmail.com>"
|
|
|
|
],
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"keywords": [
|
|
|
|
"discord",
|
|
|
|
"api",
|
|
|
|
"bot",
|
|
|
|
"client",
|
|
|
|
"node",
|
|
|
|
"discordapp"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/discordjs/discord.js.git",
|
|
|
|
"directory": "packages/discord.js"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/discordjs/discord.js/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://discord.js.org",
|
2024-07-20 19:38:12 +00:00
|
|
|
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
2024-05-01 02:44:20 +00:00
|
|
|
"dependencies": {
|
|
|
|
"@discordjs/collection": "1.5.3",
|
2024-07-20 19:38:12 +00:00
|
|
|
"@sapphire/snowflake": "3.5.3",
|
|
|
|
"discord-api-types": "0.37.83",
|
2024-05-01 02:44:20 +00:00
|
|
|
"fast-deep-equal": "3.1.3",
|
|
|
|
"lodash.snakecase": "4.1.1",
|
|
|
|
"tslib": "2.6.2",
|
2024-07-20 19:38:12 +00:00
|
|
|
"undici": "6.13.0",
|
|
|
|
"@discordjs/builders": "^1.8.2",
|
|
|
|
"@discordjs/formatters": "^0.4.0",
|
|
|
|
"@discordjs/rest": "^2.3.0",
|
|
|
|
"@discordjs/util": "^1.1.0",
|
|
|
|
"@discordjs/ws": "^1.1.1"
|
2024-05-01 02:44:20 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-07-20 19:38:12 +00:00
|
|
|
"@favware/cliff-jumper": "3.0.2",
|
2024-05-01 02:44:20 +00:00
|
|
|
"@types/node": "16.18.60",
|
2024-07-20 19:38:12 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
|
|
"@typescript-eslint/parser": "^7.7.0",
|
2024-05-01 02:44:20 +00:00
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"dtslint": "4.2.1",
|
2024-07-20 19:38:12 +00:00
|
|
|
"eslint": "8.57.0",
|
2024-05-01 02:44:20 +00:00
|
|
|
"eslint-formatter-pretty": "5.0.0",
|
|
|
|
"jest": "29.7.0",
|
2024-07-20 19:38:12 +00:00
|
|
|
"prettier": "3.2.5",
|
|
|
|
"tsd": "0.30.7",
|
2024-05-01 02:44:20 +00:00
|
|
|
"tslint": "6.1.3",
|
2024-07-20 19:38:12 +00:00
|
|
|
"turbo": "^1.13.2",
|
|
|
|
"typescript": "5.4.5",
|
2024-05-01 02:44:20 +00:00
|
|
|
"@discordjs/api-extractor": "^7.38.1",
|
2024-07-20 19:38:12 +00:00
|
|
|
"@discordjs/docgen": "^0.12.1",
|
|
|
|
"@discordjs/scripts": "^0.1.0"
|
2024-05-01 02:44:20 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16.11.0"
|
|
|
|
},
|
2024-07-20 19:38:12 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"provenance": true
|
|
|
|
},
|
2024-05-01 02:44:20 +00:00
|
|
|
"scripts": {
|
|
|
|
"test": "pnpm run docs:test && pnpm run test:typescript",
|
|
|
|
"test:typescript": "tsc --noEmit && tsd",
|
|
|
|
"lint": "prettier --check . && tslint typings/index.d.ts && cross-env ESLINT_USE_FLAT_CONFIG=false eslint --format=pretty src typings",
|
|
|
|
"format": "prettier --write . && cross-env ESLINT_USE_FLAT_CONFIG=false eslint --fix --format=pretty src",
|
|
|
|
"fmt": "pnpm run format",
|
2024-07-20 19:38:12 +00:00
|
|
|
"docs": "docgen -i \"./src/*.js\" \"./src/**/*.js\" -c ./docs/index.json -r ../../ -o ./docs/docs.json && pnpm run docs:new",
|
|
|
|
"docs:test": "docgen -i \"./src/*.js\" \"./src/**/*.js\" -c ./docs/index.json -r ../../",
|
|
|
|
"docs:new": "api-extractor run --local --minify && generate-split-documentation",
|
2024-05-01 02:44:20 +00:00
|
|
|
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/discord.js/*'",
|
|
|
|
"release": "cliff-jumper"
|
|
|
|
}
|
|
|
|
}
|