forked from elysiajs/elysia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
154 lines (154 loc) · 4.53 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
{
"name": "elysia",
"description": "Fast, and friendly Bun web framework",
"version": "0.6.11",
"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"
},
"./context": {
"bun": "./dist/context.js",
"node": "./dist/cjs/context.js",
"require": "./dist/cjs/context.js",
"import": "./dist/context.js",
"default": "./dist/context.js"
},
"./compose": {
"bun": "./dist/compose.js",
"node": "./dist/cjs/compose.js",
"require": "./dist/cjs/compose.js",
"import": "./dist/compose.js",
"default": "./dist/compose.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"
},
"./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 --hot 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": "npm run release:test && npm run release:github",
"release:test": "npm run build && npm run test",
"release:github": "bumpp package.json --commit --push --tag",
"release:local": "npm run build && npm run test && npm publish"
},
"dependencies": {
"@sinclair/typebox": "^0.30.4",
"fast-querystring": "^1.1.2",
"memoirist": "0.1.4",
"openapi-types": "^12.1.3"
},
"devDependencies": {
"@elysiajs/cookie": "^0.6.1",
"@elysiajs/html": "^0.6.0",
"@elysiajs/jwt": "^0.6.2",
"@elysiajs/swagger": "^0.6.0",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.71",
"@types/node": "^20.4.5",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"bumpp": "^9.1.1",
"bun-types": "^0.7.0",
"eslint": "^8.45.0",
"expect-type": "^0.16.0",
"rimraf": "4.4.1",
"typescript": "^5.1.6"
},
"peerDependencies": {
"@sinclair/typebox": ">= 0.28.10",
"openapi-types": ">= 12.0.0",
"typescript": ">= 5.0.0"
},
"peerDependenciesMeta": {
"@elysiajs/fn": {
"optional": true
},
"@sinclair/typebox": {
"optional": true
},
"openapi-types": {
"optional": true
},
"typescript": {
"optional": true
}
}
}