-
Notifications
You must be signed in to change notification settings - Fork 208
/
package.json
77 lines (77 loc) · 2 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
{
"name": "tsrpc",
"version": "3.4.17",
"description": "A TypeScript RPC Framework, with runtime type checking and built-in serialization, support both HTTP and WebSocket.",
"main": "index.js",
"exports": {
"require": "./index.js",
"import": "./index.mjs"
},
"typings": "index.d.ts",
"directories": {
"doc": "docs"
},
"scripts": {
"test": "npx mocha",
"genTestProto": "npx tsrpc-cli@latest proto --input test/proto --output test/proto/serviceProto.ts",
"coverage": "nyc mocha test/**/*.test.ts && start coverage\\index.html",
"build": "npm run build:js && npm run build:dts && npm run build:doc && node scripts/postBuild && cp package.json LICENSE README.md dist/",
"build:js": "rm -rf dist && npx rollup -c",
"build:dts": "rm -rf lib && npx tsc && npx api-extractor run --local --verbose && rm -rf lib",
"build:doc": "rm -rf docs/api && npx api-documenter markdown --input temp --output docs/api"
},
"repository": {
"type": "git",
"url": "https://github.com/k8w/tsrpc.git"
},
"keywords": [
"k8w",
"ts",
"rpc",
"grpc",
"tsbuffer",
"fullstack",
"websocket",
"protobuf",
"socket.io"
],
"author": "k8w",
"license": "MIT",
"devDependencies": {
"@microsoft/api-documenter": "^7.24.2",
"@microsoft/api-extractor": "^7.43.1",
"@types/chai": "^4.3.16",
"@types/mocha": "^8.2.3",
"@types/node": "^15.14.9",
"@types/uuid": "^8.3.4",
"chai": "^4.4.1",
"mocha": "^9.2.2",
"mongodb": "^4.17.2",
"nyc": "^15.1.0",
"rollup": "^2.79.1",
"rollup-plugin-typescript2": "^0.36.0",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
},
"dependencies": {
"@types/ws": "^7.4.7",
"chalk": "^4.1.2",
"tsbuffer": "^2.2.9",
"tsrpc-base-client": "^2.1.15",
"tsrpc-proto": "^1.4.3",
"uuid": "^8.3.2",
"ws": "^7.5.9"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
],
"reporter": [
"html"
],
"all": true
}
}