-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
141 lines (141 loc) · 3.58 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "async-call-rpc",
"packageManager": "[email protected]",
"version": "6.4.2",
"description": "A lightweight JSON RPC server & client",
"main": "out/base.js",
"module": "out/base.mjs",
"types": "out/base.d.ts",
"exports": {
".": {
"require": {
"types": "./out/base.d.ts",
"default": "./out/base.js"
},
"import": {
"types": "./out/base.d.ts",
"default": "./out/base.mjs"
}
},
"./full": {
"require": {
"types": "./out/full.d.ts",
"default": "./out/full.js"
},
"import": {
"types": "./out/full.d.ts",
"default": "./out/full.mjs"
}
},
"./full.min": {
"require": {
"types": "./out/full.d.ts",
"default": "./out/full.min.js"
},
"import": {
"types": "./out/full.d.ts",
"default": "./out/full.min.mjs"
}
},
"./base": {
"require": {
"types": "./out/base.d.ts",
"default": "./out/base.js"
},
"import": {
"types": "./out/base.d.ts",
"default": "./out/base.mjs"
}
},
"./base.min": {
"require": {
"types": "./out/base.d.ts",
"default": "./out/base.min.js"
},
"import": {
"types": "./out/base.d.ts",
"default": "./out/base.min.mjs"
}
},
"./utils/*": "./utils/*"
},
"typesVersions": {
"*": {
"base": [
"./out/base.d.ts"
],
"base.min": [
"./out/base.d.ts"
],
"full": [
"./out/full.d.ts"
],
"full.min": [
"./out/full.d.ts"
]
}
},
"scripts": {
"clean": "rimraf ./out ./utils/web ./utils/node ./es ./coverage ./dist",
"watch:tsc": "tsc -b -w",
"build:tsc": "tsc -b",
"watch:rollup": "rollup -c -w",
"build:rollup": "rollup -c",
"build": "pnpm run build:tsc && pnpm run build:rollup",
"doc:api": "api-extractor run --local --verbose && api-extractor run --local -c ./api-extractor-base.json",
"doc:md": "api-documenter markdown -o docs -i dist/api-extractor",
"doc:post": "git checkout HEAD -- ./docs/index.html ./docs/_config.yml",
"doc": "run-s doc:api doc:md doc:post",
"start": "run-p watch:rollup watch:tsc watch:test",
"test": "vitest --coverage",
"ci:release": "node ./.github/publish.mjs && npx jsr publish && npx changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jack-Works/async-call-rpc"
},
"keywords": [
"jsonrpc"
],
"author": "Jack Works <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Jack-Works/async-call/issues"
},
"homepage": "https://github.com/Jack-Works/async-call#readme",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@microsoft/api-documenter": "^7.23.23",
"@microsoft/api-extractor": "^7.40.1",
"@msgpack/msgpack": "3.0.0-beta2",
"@swc/core": "^1.4.0",
"@types/node": "^20.11.17",
"@types/ws": "^8.5.10",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^1.2.2",
"@vitest/ui": "^1.2.2",
"async-call-rpc": "link:",
"bson": "^6.3.0",
"c8": "^9.1.0",
"jest-file-snapshot": "^0.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"pretty-format": "^29.7.0",
"rimraf": "^5.0.5",
"rollup": "^4.10.0",
"rollup-plugin-swc3": "^0.11.0",
"serve": "^14.2.1",
"typescript": "^5.3.3",
"vite": "^5.1.1",
"vitest": "^1.2.2",
"ws": "^8.16.0"
},
"files": [
"src",
"out",
"utils",
"utils-src",
"!tsconfig.json",
"!src/package.json"
]
}