-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
80 lines (80 loc) · 1.93 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
{
"name": "typed-rpc",
"version": "6.1.1",
"description": "Lightweight JSON-RPC solution for TypeScript projects",
"keywords": [
"rpc",
"json-rpc",
"typescript"
],
"type": "module",
"main": "./dist/client.cjs",
"module": "./dist/client.mjs",
"types": "./dist/client.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/client.d.mts",
"default": "./dist/client.mjs"
},
"require": {
"types": "./dist/client.d.cts",
"default": "./dist/client.cjs"
}
},
"./server": {
"import": {
"types": "./dist/server.d.mts",
"default": "./dist/server.mjs"
},
"require": {
"types": "./dist/server.d.cts",
"default": "./dist/server.cjs"
}
},
"./ws": {
"import": {
"types": "./dist/ws.d.mts",
"default": "./dist/ws.mjs"
},
"require": {
"types": "./dist/ws.d.cts",
"default": "./dist/ws.cjs"
}
}
},
"scripts": {
"dev": "tsx --watch src/e2e/server.ts",
"build": "pkgroll --clean-dist --sourcemap",
"start": "tsx src/e2e/server.ts",
"test": "with-server tap",
"prepare": "npm run check && npm run build",
"check": "npm run check:types && npm run check:format",
"check:format": "prettier --check .",
"check:types": "tsc --noEmit"
},
"author": "Felix Gnass <[email protected]>",
"repository": "fgnass/typed-rpc",
"license": "MIT",
"devDependencies": {
"@types/express": "^5.0.0",
"@types/isomorphic-fetch": "0.0.39",
"@types/tap": "^15.0.12",
"@types/ws": "^8.5.12",
"express": "^4.21.1",
"isomorphic-fetch": "^3.0.0",
"isomorphic-ws": "^5.0.0",
"pkgroll": "^2.5.0",
"prettier": "^3.3.3",
"superjson": "^2.2.1",
"tap": "^21.0.1",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"with-server": "^2.1.0",
"ws": "^8.18.0"
}
}