UNPKG

meocord

Version:

Decorator-based Discord bot framework built on discord.js. Brings NestJS-style controllers, dependency injection, guards, and testing utilities to bot development — with a full CLI and TypeScript-first design.

152 lines (151 loc) 4.61 kB
{ "name": "meocord", "description": "Decorator-based Discord bot framework built on discord.js. Brings NestJS-style controllers, dependency injection, guards, and testing utilities to bot development — with a full CLI and TypeScript-first design.", "version": "1.8.2", "type": "module", "scripts": { "lint": "eslint --fix . && tsc --noEmit && tsc --noEmit --project tsconfig.test.json", "build": "rm -rf ./dist && rollup -c", "prepare": "husky", "test": "node --experimental-vm-modules node_modules/.bin/jest", "test:watch": "node --experimental-vm-modules node_modules/.bin/jest --watch", "test:coverage": "node --experimental-vm-modules node_modules/.bin/jest --coverage", "test:typecheck": "bunx tsc --noEmit --project tsconfig.test.json" }, "bin": "./dist/esm/bin/meocord.js", "repository": { "type": "git", "url": "git+https://github.com/l7aromeo/meocord.git" }, "homepage": "https://github.com/l7aromeo/meocord#readme", "bugs": { "url": "https://github.com/l7aromeo/meocord/issues" }, "license": "MIT", "exports": { "./core": { "types": "./dist/types/core/index.d.ts", "import": "./dist/esm/core/index.js", "require": "./dist/cjs/core/index.cjs" }, "./decorator": { "types": "./dist/types/decorator/index.d.ts", "import": "./dist/esm/decorator/index.js", "require": "./dist/cjs/decorator/index.cjs" }, "./common": { "types": "./dist/types/common/index.d.ts", "import": "./dist/esm/common/index.js", "require": "./dist/cjs/common/index.cjs" }, "./interface": { "types": "./dist/types/interface/index.d.ts", "import": "./dist/esm/interface/index.js", "require": "./dist/cjs/interface/index.cjs" }, "./enum": { "types": "./dist/types/enum/index.d.ts", "import": "./dist/esm/enum/index.js", "require": "./dist/cjs/enum/index.cjs" }, "./testing": { "types": "./dist/types/testing/index.d.ts", "import": "./dist/esm/testing/index.js", "require": "./dist/cjs/testing/index.cjs" }, "./eslint": { "types": "./meocord.eslint.d.ts", "import": "./meocord.eslint.mjs", "require": "./meocord.eslint.cjs" } }, "files": [ "dist/**/*", "webpack.config.js", "meocord.eslint.mjs", "meocord.eslint.cjs", "meocord.eslint.d.ts", "package.json", "LICENSE", "AUTHOR.md", "README.md" ], "dependencies": { "@clack/prompts": "^1.2.0", "@swc/core": "1.15.24", "chalk": "^5.6.2", "cli-table3": "^0.6.5", "commander": "^14.0.3", "dayjs": "^1.11.20", "dotenv": "^16.4.7", "inversify": "^8.1.0", "jiti": "^2.6.1", "lodash-es": "^4.18.1", "nodemon": "^3.1.14", "reflect-metadata": "^0.2.2", "simple-git": "^3.35.2", "swc-loader": "^0.2.7", "terser-webpack-plugin": "^5.4.0", "tsconfig-paths-webpack-plugin": "^4.2.0", "webpack": "^5.106.0", "webpack-node-externals": "^3.0.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "@rollup/plugin-alias": "^6.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-swc": "^0.4.0", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/exec": "^7.1.0", "@semantic-release/github": "^12.0.6", "@semantic-release/release-notes-generator": "^14.1.0", "@swc/jest": "^0.2.39", "@types/jest": "29", "@types/lodash-es": "^4.17.12", "@types/webpack-node-externals": "^3.0.4", "@typescript-eslint/parser": "^8.58.1", "discord.js": "^14.26.2", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-headers": "^1.3.4", "eslint-plugin-import-x": "^4.16.2", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-unused-imports": "^4.4.1", "globals": "^17.4.0", "husky": "^9.1.7", "jest": "29", "prettier": "^3.8.1", "rollup": "^4.60.1", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-dts": "^6.4.1", "semantic-release": "^25.0.3", "ts-node": "^10.9.2", "typescript": "^6.0.2", "typescript-eslint": "^8.58.1" }, "peerDependencies": { "discord.js": "^14.17.3", "dotenv": "^16.4.7" }, "publishConfig": { "provenance": true }, "keywords": [ "discord", "discord-bot", "discord.js", "typescript", "bot-framework", "decorator", "dependency-injection", "inversify", "controller", "guard", "slash-command", "nestjs-style", "cli", "testing", "meocord" ] }