/
package.json
58 lines (58 loc) · 1.31 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
{
"name": "unws",
"version": "0.2.4",
"packageManager": "[email protected]",
"description": "Unified WebSocket API for Node.js, Bun and modern browsers.",
"license": "MIT",
"homepage": "https://github.com/sxzz/unws#readme",
"bugs": {
"url": "https://github.com/sxzz/unws/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sxzz/unws.git"
},
"files": [
"src"
],
"main": "./src/node.js",
"module": "./src/node.mjs",
"types": "./src/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": {
"require": "./src/index.d.ts",
"import": "./src/index.d.mts"
},
"browser": "./src/native.mjs",
"bun": "./src/native.mjs",
"require": "./src/node.js",
"import": "./src/node.mjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "pnpm run lint --fix",
"release": "bumpp && pnpm publish"
},
"peerDependencies": {
"ws": "*"
},
"devDependencies": {
"@sxzz/eslint-config": "^3.9.0",
"@sxzz/prettier-config": "^2.0.1",
"bumpp": "^9.4.0",
"eslint": "^9.0.0",
"prettier": "^3.2.5",
"typescript": "^5.4.4",
"ws": "^8.16.0"
},
"engines": {
"node": ">=16.14.0"
},
"prettier": "@sxzz/prettier-config"
}