mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
* refactor: conditional compilation of loading esm/cjs modules * refactor: move file loading file * refactor: add conditional compilation for building modules * refactor: add conditional compilation for building modules * perf: decrease build times * test * revert: typo and clean code * build: smaller build * chore:cleanscripts * chore:refactor readme * build:automerge lockfile * chore: remove build and upgrade readme * fix: dropdown * chore: fix * chore: more docs --------- Co-authored-by: jacoobes <jacobnguyend@gmail.com>
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"name": "@sern/handler",
|
|
"packageManager": "pnpm@7.28.0",
|
|
"version": "2.6.0",
|
|
"description": "A complete, customizable, typesafe, & reactive framework for discord bots.",
|
|
"main": "dist/cjs/index.cjs",
|
|
"module": "dist/esm/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esm/index.mjs",
|
|
"require": "./dist/cjs/index.cjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"watch": "tsup --watch",
|
|
"clean-modules": "rimraf node_modules/ && npm install",
|
|
"lint": "eslint src/**/*.ts",
|
|
"format": "eslint src/**/*.ts --fix",
|
|
"build:dev": "tsup && tsup --dts-only --outDir dist",
|
|
"build:prod" : "tsup --minify && tsup --dts-only --outDir dist",
|
|
"publish": "npm run build:prod && npm publish",
|
|
"pretty": "prettier --write ."
|
|
},
|
|
"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-pattern": "^4.1.4",
|
|
"ts-results-es": "^3.5.0",
|
|
"tsup": "^6.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "5.54.0",
|
|
"@typescript-eslint/parser": "5.54.0",
|
|
"discord.js": "^14.7.1",
|
|
"esbuild-ifdef": "^0.2.0",
|
|
"eslint": "8.30.0",
|
|
"prettier": "2.8.4",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sern-handler/handler.git"
|
|
},
|
|
"homepage": "https://sern.dev"
|
|
}
|