package.json 2.44 KB
{
	"name": "@discordjs/rest",
	"version": "0.3.0",
	"description": "The REST API for discord.js",
	"scripts": {
		"build": "tsup && tsc --emitDeclarationOnly --incremental",
		"test": "jest --pass-with-no-tests --collect-coverage",
		"lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
		"format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
		"docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
		"prepublishOnly": "yarn build && yarn lint && yarn test",
		"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
	},
	"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"
	],
	"contributors": [
		"Crawl <icrawltogo@gmail.com>",
		"Amish Shah <amishshah.2k@gmail.com>",
		"SpaceEEC <spaceeec@yahoo.com>",
		"Vlad Frangu <kingdgrizzle@gmail.com>",
		"Antonio Roman <kyradiscord@gmail.com>"
	],
	"license": "Apache-2.0",
	"keywords": [
		"discord",
		"api",
		"rest",
		"discordapp",
		"discordjs"
	],
	"repository": {
		"type": "git",
		"url": "git+https://github.com/discordjs/discord.js.git"
	},
	"bugs": {
		"url": "https://github.com/discordjs/discord.js/issues"
	},
	"homepage": "https://discord.js.org",
	"dependencies": {
		"@discordjs/collection": "^0.4.0",
		"@sapphire/async-queue": "^1.1.9",
		"@sapphire/snowflake": "^3.0.1",
		"discord-api-types": "^0.26.1",
		"form-data": "^4.0.0",
		"node-fetch": "^2.6.5",
		"tslib": "^2.3.1"
	},
	"devDependencies": {
		"@babel/core": "^7.16.12",
		"@babel/plugin-proposal-decorators": "^7.16.7",
		"@babel/preset-env": "^7.16.11",
		"@babel/preset-typescript": "^7.16.7",
		"@discordjs/ts-docgen": "^0.3.4",
		"@types/jest": "^27.4.0",
		"@types/node-fetch": "^2.5.10",
		"@typescript-eslint/eslint-plugin": "^5.10.0",
		"@typescript-eslint/parser": "^5.10.0",
		"babel-plugin-const-enum": "^1.2.0",
		"babel-plugin-transform-typescript-metadata": "^0.3.2",
		"eslint": "^8.7.0",
		"eslint-config-marine": "^9.3.2",
		"eslint-config-prettier": "^8.3.0",
		"eslint-plugin-prettier": "^4.0.0",
		"jest": "^27.4.7",
		"nock": "^13.2.2",
		"prettier": "^2.5.1",
		"tsup": "^5.11.11",
		"typedoc": "^0.22.11",
		"typescript": "^4.5.5"
	},
	"engines": {
		"node": ">=16.9.0"
	},
	"publishConfig": {
		"access": "public"
	}
}