-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
102 lines (102 loc) · 2.99 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
{
"name": "@replit/river",
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
"version": "0.203.2",
"type": "module",
"exports": {
".": {
"import": "./dist/router/index.js",
"require": "./dist/router/index.cjs"
},
"./logging": {
"import": "./dist/logging/index.js",
"require": "./dist/logging/index.cjs"
},
"./codec": {
"import": "./dist/codec/index.js",
"require": "./dist/codec/index.cjs"
},
"./transport": {
"import": "./dist/transport/index.js",
"require": "./dist/transport/index.cjs"
},
"./transport/ws/client": {
"import": "./dist/transport/impls/ws/client.js",
"require": "./dist/transport/impls/ws/client.cjs"
},
"./transport/ws/server": {
"import": "./dist/transport/impls/ws/server.js",
"require": "./dist/transport/impls/ws/server.cjs"
},
"./transport/uds/client": {
"import": "./dist/transport/impls/uds/client.js",
"require": "./dist/transport/impls/uds/client.cjs"
},
"./transport/uds/server": {
"import": "./dist/transport/impls/uds/server.js",
"require": "./dist/transport/impls/uds/server.cjs"
},
"./test-util": {
"import": "./dist/testUtil/index.js",
"require": "./dist/testUtil/index.cjs"
}
},
"sideEffects": [
"./dist/logging/index.js"
],
"files": [
"dist"
],
"dependencies": {
"@msgpack/msgpack": "^3.0.0-beta2",
"nanoid": "^5.0.9",
"ws": "^8.17.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.7.0",
"@sinclair/typebox": "~0.32.8"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "^1.26.0",
"@opentelemetry/core": "^1.7.0",
"@opentelemetry/sdk-trace-base": "^1.24.1",
"@stylistic/eslint-plugin": "^2.6.4",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitest/ui": "^2.0.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.0.0",
"tsup": "^7.2.0",
"typescript": "^5.4.5",
"vitest": "^2.0.5"
},
"scripts": {
"check": "tsc --noEmit && npm run format && npm run lint",
"format": "npx prettier . --check",
"format:fix": "npx prettier . --write",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"fix": "npm run format:fix && npm run lint:fix",
"build": "rm -rf dist && tsup && du -sh dist",
"prepack": "npm run build",
"release": "npm publish --access public",
"test:ui": "echo \"remember to go to /__vitest__ in the webview\" && vitest --ui --api.host 0.0.0.0 --api.port 3000",
"test": "vitest",
"test:single": "vitest run --reporter=dot",
"test:flake": "./flake.sh",
"bench": "vitest bench"
},
"engines": {
"node": ">=16"
},
"keywords": [
"rpc",
"websockets",
"jsonschema"
],
"author": "Jacky Zhao",
"license": "MIT"
}