forked from elysiajs/elysia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 4.64 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "elysia",
"description": "Ergonomic Framework for Human",
"version": "0.8.3",
"author": {
"name": "saltyAom",
"url": "https://github.com/SaltyAom",
"email": "saltyaom@gmail.com"
},
"main": "./dist/index.js",
"exports": {
".": {
"bun": "./dist/bun/index.js",
"node": "./dist/cjs/index.js",
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./ws": {
"bun": "./dist/ws/index.js",
"node": "./dist/cjs/ws/index.js",
"require": "./dist/cjs/ws/index.js",
"import": "./dist/ws/index.js",
"default": "./dist/ws/index.js"
},
"./compose": {
"bun": "./dist/compose.js",
"node": "./dist/cjs/compose.js",
"require": "./dist/cjs/compose.js",
"import": "./dist/compose.js",
"default": "./dist/compose.js"
},
"./context": {
"bun": "./dist/context.js",
"node": "./dist/cjs/context.js",
"require": "./dist/cjs/context.js",
"import": "./dist/context.js",
"default": "./dist/context.js"
},
"./cookie": {
"bun": "./dist/cookie.js",
"node": "./dist/cjs/cookie.js",
"require": "./dist/cjs/cookie.js",
"import": "./dist/cookie.js",
"default": "./dist/cookie.js"
},
"./custom-types": {
"bun": "./dist/custom-types.js",
"node": "./dist/cjs/custom-types.js",
"require": "./dist/cjs/custom-types.js",
"import": "./dist/custom-types.js",
"default": "./dist/custom-types.js"
},
"./error": {
"bun": "./dist/error.js",
"node": "./dist/cjs/error.js",
"require": "./dist/cjs/error.js",
"import": "./dist/error.js",
"default": "./dist/error.js"
},
"./handler": {
"bun": "./dist/handler.js",
"node": "./dist/cjs/handler.js",
"require": "./dist/cjs/handler.js",
"import": "./dist/handler.js",
"default": "./dist/handler.js"
},
"./schema": {
"bun": "./dist/schema.js",
"node": "./dist/cjs/schema.js",
"require": "./dist/cjs/schema.js",
"import": "./dist/schema.js",
"default": "./dist/schema.js"
},
"./trace": {
"bun": "./dist/trace.js",
"node": "./dist/cjs/trace.js",
"require": "./dist/cjs/trace.js",
"import": "./dist/trace.js",
"default": "./dist/trace.js"
},
"./types": {
"bun": "./dist/types.js",
"node": "./dist/cjs/types.js",
"require": "./dist/cjs/types.js",
"import": "./dist/types.js",
"default": "./dist/types.js"
},
"./utils": {
"bun": "./dist/utils.js",
"node": "./dist/cjs/utils.js",
"require": "./dist/cjs/utils.js",
"import": "./dist/utils.js",
"default": "./dist/utils.js"
}
},
"types": "./dist/index.d.ts",
"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 && npm run test:node",
"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",
"dev": "bun run --watch example/http.ts",
"build": "rimraf dist && npm run build:esm && npm run build:bun && npm run build:cjs",
"build:bun": "bun build.ts",
"build:esm": "swc src -d dist && tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"release:local": "npm run build && npm run test && npm publish"
},
"dependencies": {
"@sinclair/typebox": "^0.32.0",
"cookie": "^0.6.0",
"eventemitter3": "^5.0.1",
"fast-decode-uri-component": "^1.0.1",
"fast-querystring": "^1.1.2",
"memoirist": "0.1.4",
"openapi-types": "^12.1.3"
},
"devDependencies": {
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.86",
"@types/cookie": "^0.6.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"bun-types": "1.0.18",
"eslint": "^8.49.0",
"expect-type": "^0.16.0",
"rimraf": "4.4.1",
"typescript": "5.3.3"
},
"peerDependencies": {
"@sinclair/typebox": ">= 0.31.0",
"openapi-types": ">= 12.0.0",
"typescript": ">= 5.0.0"
},
"peerDependenciesMeta": {
"@sinclair/typebox": {
"optional": true
},
"openapi-types": {
"optional": true
},
"typescript": {
"optional": true
}
}
}