mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
101 lines
2.9 KiB
JSON
101 lines
2.9 KiB
JSON
{
|
|
"name": "@sern/handler",
|
|
"packageManager": "yarn@3.5.0",
|
|
"version": "3.1.1",
|
|
"description": "A complete, customizable, typesafe, & reactive framework for discord bots.",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"watch": "tsup --watch",
|
|
"clean-modules": "rimraf node_modules/ && npm install",
|
|
"lint": "eslint src/**/*.ts",
|
|
"format": "eslint src/**/*.ts --fix",
|
|
"build:dev": "tsup --metafile",
|
|
"build:prod": "tsup ",
|
|
"prepare": "npm run build:prod",
|
|
"pretty": "prettier --write .",
|
|
"tdd": "vitest",
|
|
"test": "vitest --run",
|
|
"analyze-imports": "npx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > dependency-graph.svg"
|
|
},
|
|
"keywords": [
|
|
"sern-handler",
|
|
"sern",
|
|
"handler",
|
|
"sern handler",
|
|
"wrapper",
|
|
"discord.js",
|
|
"framework"
|
|
],
|
|
"author": "SernDevs",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"iti": "^0.6.0",
|
|
"rxjs": "^7.8.0",
|
|
"ts-results-es": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^8.0.1",
|
|
"@types/node": "^18.15.11",
|
|
"@typescript-eslint/eslint-plugin": "5.58.0",
|
|
"@typescript-eslint/parser": "5.59.1",
|
|
"dependency-cruiser": "^13.0.5",
|
|
"discord.js": "14.11.0",
|
|
"esbuild": "^0.17.0",
|
|
"eslint": "8.39.0",
|
|
"prettier": "2.8.8",
|
|
"tsup": "^6.7.0",
|
|
"typescript": "5.0.2",
|
|
"vitest": "latest"
|
|
},
|
|
"prettier": {
|
|
"semi": true,
|
|
"trailingComma": "all",
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"tabWidth": 4,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "script"
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"quotes": [
|
|
2,
|
|
"single",
|
|
{
|
|
"avoidEscape": true,
|
|
"allowTemplateLiterals": true
|
|
}
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"@typescript-eslint/no-empty-interface": 0,
|
|
"@typescript-eslint/ban-types": 0,
|
|
"@typescript-eslint/no-explicit-any": "off"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sern-handler/handler.git"
|
|
},
|
|
"homepage": "https://sern.dev"
|
|
}
|