generated from romanzy313/modern-ts-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.22 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": "ts-duplex",
"description": "Typesafe remote procedure calls in full-stack typescript applications utilitizing WebSockets",
"keywords": [
"typesafe",
"duplex",
"validation",
"websockets",
"rpc",
"ws",
"bun",
"zod",
"typebox"
],
"version": "0.9.21",
"type": "module",
"exports": {
".": "./dist/index.js",
"./TypedDuplex": "./dist/TypedDuplex.js",
"./ServerSerializer": "./dist/ServerSerializer.js",
"./WebSocketClient": "./dist/WebSocketClient.js",
"./integrations/*": "./dist/integrations/*.js",
"./validators/*": "./dist/validators/*.js"
},
"engines": {
"pnpm": "8"
},
"files": [
"dist",
"src",
"CHANGELOG.md"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/romanzy313/ts-duplex.git"
},
"author": "Roman Volovoy",
"scripts": {
"dev": "vitest",
"dev:build": "tsc --watch",
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest --coverage",
"test:publish": "pnpm prepublishOnly && pnpm pack",
"prepublishOnly": "pnpm clean && pnpm prettier && pnpm lint && pnpm test && pnpm build",
"clean": "rimraf -rf ./dist && rimraf -rf ./types && rimraf -rf ./*-*.tgz",
"format": "pnpm clean && pnpm prettier && pnpm lint",
"lint": "eslint . --ext .ts --fix",
"lint:dry": "eslint . --ext .ts",
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier:dry": "prettier --config .prettierrc 'src/**/*.ts'"
},
"devDependencies": {
"@playwright/test": "^1.40.1",
"@sinclair/typebox": "0.24.8",
"@types/node": "^18.19.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"bun": "^1.0.14",
"bun-types": "^1.0.14",
"eslint": "^8.54.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "^5.3.2",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.4",
"vitest": "^1.0.2",
"ws": "^8.14.2",
"zod": "^3.22.4"
},
"peerDependencies": {
"reconnecting-websocket": "^4.4.0"
}
}