UNPKG

elysia-autoload

Version:

Plugin for Elysia which autoload all routes in directory and code-generate types for Eden with Bun.build support

55 lines (54 loc) 1.18 kB
{ "name": "elysia-autoload", "version": "1.7.0", "author": "kravetsone", "type": "module", "types": "./dist/index.d.ts", "module": "./dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "description": "Plugin for Elysia which autoload all routes in directory and code-generate types for Eden with Bun.build support", "homepage": "https://github.com/kravetsone/elysia-autoload", "keywords": [ "bun", "elysia", "autoimports", "autoload", "nextjs", "filerouter", "autoroutes", "eden", "treaty", "trpc", "codegeneration" ], "scripts": { "prepublishOnly": "bun test && bunx pkgroll", "lint": "bunx @biomejs/biome check src", "lint:fix": "bun lint --apply" }, "files": ["dist"], "devDependencies": { "@biomejs/biome": "^1.9.4", "@elysiajs/eden": "^1.3.2", "@elysiajs/node": "^1.2.6", "@elysiajs/swagger": "^1.3.0", "@types/bun": "^1.2.13", "@types/node": "^22.15.18", "elysia": "^1.3.1", "jose": "^5.10.0", "pkgroll": "^2.12.2", "typescript": "^5.8.3" }, "peerDependencies": { "elysia": "^1.3.1" }, "engines": { "node": ">=22", "bun": ">=1.0.0" } }