mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 15:30:07 +00:00
* fix: readme runtime list * Fix code style issues with ESLint * node 18 * fix: websocket import type * fix: body for interaction requests * fix: perma fix for type error in ci * fix: followupmessage option type * fix: e2e tests exit bug * fix: color console logger * fix: image file sending * Fix code style issues with ESLint * guild and role methods * Fix code style issues with ESLint * fix: dont send heartbeat if socket is not open * fix: remove logs * fox: remove more logs * fix some bugs in role tests * Switch to after hook style * hoti's speed snaker * auto convert objects for discord * Fix code style issues with ESLint * fix: remove dup imports * fix: i hate linters * speeder * fix: tests delete guilds * Fix code style issues with ESLint * fix: easier to provide custom intents in bot * fix: shutdown bot after test * fix: add getGuild * fix: multiple guild delete attempts * fix: add emoji e2e tests * fix: remaining old e2e rest tests * Fix code style issues with ESLint --------- Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
50 lines
1.9 KiB
JSON
50 lines
1.9 KiB
JSON
{
|
|
"name": "@discordeno/bot",
|
|
"version": "19.0.0-alpha.1",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"type": "module",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/discordeno/discordeno.git"
|
|
},
|
|
"scripts": {
|
|
"build": "swc --delete-dir-on-start src --out-dir dist",
|
|
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
"release-build": "yarn build && yarn build:type",
|
|
"fmt": "eslint --fix \"src/**/*.ts*\"",
|
|
"lint": "eslint \"src/**/*.ts*\"",
|
|
"test:unit-coverage": "c8 mocha --no-warnings 'tests/unit/**/*.spec.ts'",
|
|
"test:unit": "c8 --r lcov mocha --no-warnings 'tests/unit/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js discordeno",
|
|
"test:deno-unit": "swc tests --delete-dir-on-start --out-dir denoTestsDist && node ../../scripts/fixDenoTestExtension.js && deno test -A --import-map ../../denoImportMap.json denoTestsDist/unit",
|
|
"test:e2e": "c8 --r lcov mocha --no-warnings --jobs 1 --t 30000 'tests/e2e/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js rest",
|
|
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/unit/**/*.spec.ts'",
|
|
"test:type": "tsc --noEmit",
|
|
"test:test-type": "tsc --project tsconfig.test.json"
|
|
},
|
|
"dependencies": {
|
|
"@discordeno/gateway": "19.0.0-alpha.1",
|
|
"@discordeno/rest": "19.0.0-alpha.1",
|
|
"@discordeno/types": "19.0.0-alpha.1",
|
|
"@discordeno/utils": "19.0.0-alpha.1"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.1.57",
|
|
"@swc/core": "^1.3.21",
|
|
"@types/chai": "^4",
|
|
"@types/mocha": "^10",
|
|
"@types/node": "^18.11.9",
|
|
"@types/sinon": "^10.0.13",
|
|
"c8": "^7.12.0",
|
|
"chai": "^4.3.7",
|
|
"eslint": "^8.0.1",
|
|
"eslint-config-discordeno": "*",
|
|
"mocha": "^10.1.0",
|
|
"sinon": "^15.0.0",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig": "*",
|
|
"typescript": "^4.9.3"
|
|
}
|
|
}
|