File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " elysia-http-exception" ,
3
- "version" : " 1.0.0" ,
3
+ "description" : " Elysia plugin for handling HTTP 4xx and 5xx errors with structured exception classes and automatic error responses" ,
4
+ "version" : " 0.1.0" ,
5
+ "repository" : {
6
+ "type" : " git" ,
7
+ "url" : " https://github.com/codev911/elysia-http-exception"
8
+ },
9
+ "keywords" : [
10
+ " elysia" ,
11
+ " http" ,
12
+ " exception" ,
13
+ " plugin"
14
+ ],
15
+ "license" : " MIT" ,
4
16
"type" : " module" ,
5
17
"main" : " ./dist/index.js" ,
6
- "types" : " ./dist/index.d.ts" ,
7
18
"exports" : {
8
- ". " : {
9
- "import" : " ./dist/index.js" ,
10
- "types " : " ./dist/index.d.ts "
11
- }
19
+ "require " : " ./dist/index.js " ,
20
+ "import" : " ./dist/index.js" ,
21
+ "node " : " ./dist/index.js " ,
22
+ "default" : " ./dist/index.js "
12
23
},
24
+ "types" : " ./dist/index.d.ts" ,
13
25
"files" : [
14
26
" dist"
15
27
],
16
28
"scripts" : {
17
29
"build" : " rm -rf dist && bun build src/index.ts --outdir ./dist --target bun --minify --external elysia && tsc" ,
18
- "format" : " prettier --write '**/*.ts' --ignore-path .gitignore" ,
19
- "prepublishOnly" : " bun run build"
30
+ "format" : " prettier --write '**/*.ts' --ignore-path .gitignore"
20
31
},
21
32
"devDependencies" : {
22
33
"@types/bun" : " latest" ,
You can’t perform that action at this time.
0 commit comments