-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.34 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "elysia-http-exception",
"description": "Elysia plugin for handling HTTP 4xx and 5xx errors with structured exception classes and automatic error responses",
"version": "0.1.4",
"repository": {
"type": "git",
"url": "https://github.com/codev911/elysia-http-exception"
},
"keywords": [
"elysia",
"http",
"exception",
"plugin"
],
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.js",
"node": "./dist/index.js",
"default": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && bun build src/index.ts --outdir ./dist --target bun --minify --external elysia && tsc",
"clean": "rm -rf dist example/node_modules",
"format": "prettier --write '**/*.ts' --ignore-path .gitignore",
"pretest": "bun run clean && bun install && bun run build && cd example && bun install",
"test": "bun test",
"test:unit": "bun test tests/unit",
"test:e2e": "bun test tests/e2e",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage"
},
"devDependencies": {
"@types/bun": "latest",
"elysia": "^1.3.8",
"prettier": "^3.6.2"
},
"peerDependencies": {
"elysia": "^1.3.8",
"typescript": "^5"
}
}