-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.37 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
{
"name": "websocket-rpc",
"description": "A typesafe RPC implementation for WebSockets",
"version": "1.2.7",
"homepage": "https://www.npmjs.com/package/websocket-rpc",
"repository": {
"type": "git",
"url": "https://github.com/manga-download/websocket-rpc"
},
"files": [
"/dist"
],
"type": "module",
"exports": {
".": {
"import": "./dist/_index.js",
"require": "./dist/_index.cjs",
"types": "./dist/_index.d.ts"
},
"./server": {
"import": "./dist/server.js",
"require": "./dist/server.cjs",
"types": "./dist/server.d.ts"
},
"./client": {
"import": "./dist/client.js",
"require": "./dist/client.cjs",
"types": "./dist/client.d.ts"
}
},
"devDependencies": {
"@types/ws": "^8.5.14",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vitest": "^3.0.4"
},
"dependencies": {
"ws": "^8.18.0"
},
"scripts": {
"prepare": "npm run build",
"build": "vite build && tsc",
"test:unit": "vitest run --config ./vitest.unit.ts",
"test:integration": "npm run build && vitest run --config ./vitest.e2e.ts",
"deploy:dry": "npm run test:unit && npm run test:integration && npm run build && npm publish --dry-run",
"deploy:production": "npm run test:unit && npm run test:integration && npm run build && npm version patch && git push --tags && npm publish"
}
}