-
-
Notifications
You must be signed in to change notification settings - Fork 226
/
package.json
140 lines (140 loc) · 3.7 KB
/
package.json
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "elysia",
"description": "Ergonomic Framework for Human",
"version": "1.1.24",
"author": {
"name": "saltyAom",
"url": "https://github.com/SaltyAom",
"email": "saltyaom@gmail.com"
},
"main": "./dist/cjs/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"bun": "./dist/bun/index.js",
"import": "./dist/index.mjs",
"require": "./dist/cjs/index.js"
},
"./ws": {
"types": "./dist/ws/index.d.ts",
"import": "./dist/ws/index.mjs",
"require": "./dist/cjs/ws/index.js"
},
"./compose": {
"types": "./dist/compose.d.ts",
"import": "./dist/compose.mjs",
"require": "./dist/cjs/compose.js"
},
"./context": {
"types": "./dist/context.d.ts",
"import": "./dist/context.mjs",
"require": "./dist/cjs/context.js"
},
"./cookies": {
"types": "./dist/cookies.d.ts",
"import": "./dist/cookies.mjs",
"require": "./dist/cjs/cookies.js"
},
"./error": {
"types": "./dist/error.d.ts",
"import": "./dist/error.mjs",
"require": "./dist/cjs/error.js"
},
"./handler": {
"types": "./dist/handler.d.ts",
"import": "./dist/handler.mjs",
"require": "./dist/cjs/handler.js"
},
"./sucrose": {
"types": "./dist/sucrose.d.ts",
"import": "./dist/sucrose.mjs",
"require": "./dist/cjs/sucrose.js"
},
"./trace": {
"types": "./dist/trace.d.ts",
"import": "./dist/trace.mjs",
"require": "./dist/cjs/trace.js"
},
"./type-system": {
"types": "./dist/type-system.d.ts",
"import": "./dist/type-system.mjs",
"require": "./dist/cjs/type-system.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.mjs",
"require": "./dist/cjs/types.js"
},
"./utils": {
"types": "./dist/utils.d.ts",
"import": "./dist/utils.mjs",
"require": "./dist/cjs/utils.js"
},
"./fast-querystring": {
"types": "./dist/fast-querystring.d.ts",
"import": "./dist/fast-querystring.mjs",
"require": "./dist/cjs/fast-querystring.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/elysiajs/elysia"
},
"bugs": "https://github.com/elysiajs/elysia/issues",
"homepage": "https://github.com/elysiajs/elysia",
"keywords": [
"bun",
"http",
"web",
"server"
],
"license": "MIT",
"scripts": {
"test": "npm run test:functionality && npm run test:types",
"test:functionality": "bun test && bun run test:imports && npm run test:node",
"test:imports": "bun run ./test/type-system/import.ts",
"test:types": "tsc --project tsconfig.test.json",
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js && bun dist/bun/index.js",
"dev": "bun run --watch example/a.ts",
"build": "rm -rf dist && bun build.ts",
"release": "npm run build && npm run test && npm publish"
},
"dependencies": {
"@sinclair/typebox": "0.32.34",
"cookie": "^1.0.1",
"fast-decode-uri-component": "^1.0.1",
"openapi-types": "^12.1.3"
},
"devDependencies": {
"@types/benchmark": "^2.1.5",
"@types/bun": "^1.1.2",
"@types/cookie": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"benchmark": "^2.1.4",
"eslint": "^8.49.0",
"eslint-plugin-security": "^2.1.0",
"eslint-plugin-sonarjs": "^0.23.0",
"expect-type": "^0.16.0",
"memoirist": "^0.2.0",
"prettier": "^3.3.3",
"tsup": "^8.0.2",
"typescript": "^5.5.2"
},
"peerDependencies": {
"@sinclair/typebox": ">= 0.32.0",
"openapi-types": ">= 12.0.0",
"typescript": ">= 5.0.0"
},
"peerDependenciesMeta": {
"openapi-types": {
"optional": true
},
"typescript": {
"optional": true
}
}
}