-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
81 lines (81 loc) · 2.18 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
{
"type": "commonjs",
"name": "@chord-ts/rpc",
"version": "1.0.0-beta.17",
"author": "Din Dmitriy @dmdin",
"description": "💎 Cutting edge transport framework vanishing borders between frontend and backend",
"repository": {
"type": "git",
"url": "git+https://github.com/chord-ts/rpc.git"
},
"keywords": [
"JSON-RPC",
"Client Server",
"Transport"
],
"license": "Apache License 2.0",
"files": [
"dist"
],
"exports": {
".": "./dist/index.js",
"./client": "./dist/client/index.js",
"./middlewares/*": "./dist/middlewares/*.js",
"./middlewares": "./dist/middlewares/index.js",
"./validators": "./dist/validators/index.js",
"./specs": "./dist/specs/index.js"
},
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"middlewares": [
"./dist/middlewares/index.d.ts"
],
"middlewares/*": [
"./dist/middlewares/*.d.ts"
],
"client": [
"./dist/client.d.ts"
],
"specs": [
"./dist/specs/index.d.ts"
],
"validators": [
"./dist/validators/index.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "nodemon --exec npx ts-node src/tests.ts",
"format": "prettier --write ./src/**/*.{js,json,html,ts}",
"lint": "eslint --fix ./src",
"test": "vitest",
"coverage": "vitest run --coverage",
"build": "tsc",
"minify": "terser --compress --module -o ./dist/client/index.js -- ./dist/client/index.js && terser --compress --module -o ./dist/specs/JSONRPC_V2/index.js -- ./dist/specs/JSONRPC_V2/index.js",
"patch": "pnpm run build && pnpm version patch --no-git-tag-version"
},
"devDependencies": {
"@anatine/zod-mock": "^3.13.3",
"@open-rpc/meta-schema": "^1.14.6",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.1.0",
"terser": "^5.26.0",
"tslib": "^2.6.2",
"typescript": "5.5.3",
"unplugin-swc": "^1.4.5",
"vitest": "^1.6.0"
},
"peerDependencies": {
},
"dependencies": {
"reflect-metadata": "^0.1.13",
"zod": "^3.23.8"
}
}