forked from elysiajs/elysia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 3.83 KB
/
Copy pathpackage.json
File metadata and controls
147 lines (147 loc) · 3.83 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
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
{
"name": "elysia",
"description": "Ergonomic Framework for Human",
"version": "0.8.15",
"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": {
".": {
"bun": "./dist/bun/index.js",
"import": "./dist/index.mjs",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
},
"./ws": {
"bun": "./dist/ws/index.js",
"import": "./dist/ws/index.mjs",
"require": "./dist/cjs/ws/index.js",
"types": "./dist/ws/index.d.ts"
},
"./compose": {
"bun": "./dist/compose.js",
"import": "./dist/compose.mjs",
"require": "./dist/cjs/compose.js",
"types": "./dist/compose.d.ts"
},
"./context": {
"bun": "./dist/context.js",
"import": "./dist/context.mjs",
"require": "./dist/cjs/context.js",
"types": "./dist/context.d.ts"
},
"./cookie": {
"bun": "./dist/cookie.js",
"import": "./dist/cookie.mjs",
"require": "./dist/cjs/cookie.js",
"types": "./dist/cookie.d.ts"
},
"./error": {
"bun": "./dist/error.js",
"import": "./dist/error.mjs",
"require": "./dist/cjs/error.js",
"types": "./dist/error.d.ts"
},
"./handler": {
"bun": "./dist/handler.js",
"import": "./dist/handler.mjs",
"require": "./dist/cjs/handler.js",
"types": "./dist/handler.d.ts"
},
"./schema": {
"bun": "./dist/schema.js",
"import": "./dist/schema.mjs",
"require": "./dist/cjs/schema.js",
"types": "./dist/schema.d.ts"
},
"./trace": {
"bun": "./dist/trace.js",
"import": "./dist/trace.mjs",
"require": "./dist/cjs/trace.js",
"types": "./dist/trace.d.ts"
},
"./type-system": {
"bun": "./dist/type-system.js",
"import": "./dist/type-system.mjs",
"require": "./dist/cjs/type-system.js",
"types": "./dist/type-system.d.ts"
},
"./types": {
"bun": "./dist/types.js",
"import": "./dist/types.mjs",
"require": "./dist/cjs/types.js",
"types": "./dist/types.d.ts"
},
"./utils": {
"bun": "./dist/utils.js",
"import": "./dist/utils.mjs",
"require": "./dist/cjs/utils.js",
"types": "./dist/utils.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 && bun dist/bun/index.js",
"dev": "bun run --watch example/http.ts",
"build": "bun build.ts",
"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.10",
"openapi-types": "^12.1.3"
},
"devDependencies": {
"@types/bun": "^1.0.4",
"@types/cookie": "^0.6.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"expect-type": "^0.16.0",
"tsup": "^8.0.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
}
}
}