86 lines
2.4 KiB
JSON
86 lines
2.4 KiB
JSON
{
|
|
"name": "discord.js",
|
|
"version": "13.2.0",
|
|
"description": "A powerful library for interacting with the Discord API",
|
|
"main": "./src/index.js",
|
|
"module": "./src/index.mjs",
|
|
"types": "./typings/index.d.ts",
|
|
"files": [
|
|
"src",
|
|
"typings"
|
|
],
|
|
"exports": {
|
|
"./*": "./*",
|
|
".": {
|
|
"require": "./src/index.js",
|
|
"import": "./src/index.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 && gen-esm-wrapper ./src/index.js ./src/index.mjs",
|
|
"prepare": "is-ci || husky install",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "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://discord.js.org",
|
|
"dependencies": {
|
|
"@discordjs/builders": "^0.6.0",
|
|
"@discordjs/collection": "^0.2.1",
|
|
"@discordjs/form-data": "^3.0.1",
|
|
"@sapphire/async-queue": "^1.1.5",
|
|
"@types/ws": "^8.2.0",
|
|
"discord-api-types": "^0.23.1",
|
|
"node-fetch": "^2.6.1",
|
|
"ws": "^8.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^13.2.0",
|
|
"@commitlint/config-angular": "^13.2.0",
|
|
"@discordjs/docgen": "^0.10.0",
|
|
"@favware/npm-deprecate": "^1.0.4",
|
|
"@types/node": "^16.10.2",
|
|
"conventional-changelog-cli": "^2.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"dtslint": "^4.1.6",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"gen-esm-wrapper": "^1.1.3",
|
|
"husky": "^7.0.2",
|
|
"is-ci": "^3.0.0",
|
|
"jest": "^27.2.4",
|
|
"lint-staged": "^11.2.0",
|
|
"prettier": "^2.4.1",
|
|
"tslint": "^6.1.3",
|
|
"typescript": "^4.4.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.6.0",
|
|
"npm": ">=7.0.0"
|
|
}
|
|
}
|