-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
79 lines (79 loc) · 1.91 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
{
"name": "@elysiajs/node",
"version": "1.2.5",
"description": "Plugin for Elysia for retreiving Bearer token",
"license": "MIT",
"scripts": {
"dev": "tsx --watch ./example/index.ts",
"test": "vitest run",
"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",
"build": "bun build.ts",
"release": "npm run build && npm run test && npm publish --access public"
},
"dependencies": {
"formidable": "^3.5.2",
"ws": "^8.18.0"
},
"peerDependencies": {
"elysia": ">= 1.2.7",
"bufferutil": ">= 4.0.1",
"formidable": ">= 3.5.2",
"ws": ">= 8.18.0"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
}
},
"devDependencies": {
"@elysiajs/cors": "^1.2.0",
"@elysiajs/swagger": "^1.2.0",
"@types/formidable": "^3.4.5",
"@types/node": "^22.10.2",
"@types/ws": "^8.5.13",
"elysia": "^1.2.11",
"eslint": "9.17.0",
"light-my-request": "^6.4.0",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"main": "./dist/cjs/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/cjs/index.js"
},
"./handler": {
"types": "./dist/handler.d.ts",
"import": "./dist/handler.mjs",
"require": "./dist/cjs/handler.js"
},
"./ws": {
"types": "./dist/ws.d.ts",
"import": "./dist/ws.mjs",
"require": "./dist/cjs/ws.js"
}
},
"keywords": [
"elysia",
"bearer",
"authentication"
],
"repository": {
"type": "git",
"url": "https://github.com/elysiajs/node"
},
"author": {
"name": "saltyAom",
"url": "https://github.com/SaltyAom",
"email": "[email protected]"
},
"homepage": "https://github.com/elysiajs/node",
"bugs": "https://github.com/elysiajs/node/issues"
}