-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
118 lines (118 loc) · 4.07 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
{
"name": "starpc",
"version": "0.36.0",
"description": "Streaming protobuf RPC service protocol over any two-way channel.",
"license": "MIT",
"author": {
"name": "Aperture Robotics LLC.",
"email": "[email protected]",
"url": "http://aperture.us"
},
"contributors": [
{
"name": "Christian Stewart",
"email": "[email protected]",
"url": "http://github.com/paralin"
}
],
"bin": {
"protoc-gen-es-starpc": "./cmd/protoc-gen-es-starpc/protoc-gen-es-starpc"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"!**/*.tsbuildinfo",
"Makefile",
"dist",
"mock",
"echo",
"go.mod",
"go.sum",
"integration",
"srpc",
"cmd/protoc-gen-es-starpc"
],
"repository": {
"url": "git+ssh://[email protected]/aperturerobotics/starpc.git"
},
"scripts": {
"clean": "rimraf ./dist",
"build": "npm run clean && tsc --project tsconfig.build.json --outDir ./dist/",
"check": "npm run typecheck",
"typecheck": "tsc --noEmit",
"deps": "depcheck --ignores 'bufferutil,pre-commit,utf-8-validate,rimraf,starpc,@aptre/protobuf-es-lite,tsx'",
"codegen": "npm run gen",
"ci": "npm run build && npm run lint:js && npm run lint:go",
"format": "npm run format:go && npm run format:js && npm run format:config",
"format:config": "prettier --write tsconfig.json package.json",
"format:go": "make format",
"format:js": "prettier --write './{srpc,echo,e2e,integration,rpcstream,cmd}/**/(*.ts|*.tsx|*.html|*.css)'",
"gen": "make genproto",
"test": "npm run test:js && npm run test:go",
"test:go": "make test",
"build:e2e": "npm run build && cd e2e && esbuild e2e.ts --sourcemap --outfile=e2e.cjs --bundle --platform=node",
"test:js": "vitest run",
"test:js:watch": "vitest",
"debug:js": "npm run build:e2e && cd e2e && node --inspect --inspect-brk ./e2e.cjs",
"test:integration": "make integration",
"integration": "npm run test:integration",
"lint": "npm run lint:go && npm run lint:js",
"lint:go": "make lint",
"lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs --ignore-pattern *.js --ignore-pattern *.d.ts ./",
"prepare": "go mod vendor && rimraf ./tools/bin",
"precommit": "lint-staged",
"release": "npm run release:version && npm run release:commit",
"release:minor": "npm run release:version:minor && npm run release:commit",
"release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
"release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
"release:commit": "git reset && git add package.json && git commit -s -m \"release: v$npm_package_version\" && git tag v$npm_package_version",
"release:publish": "git push && git push --tags && npm run build && npm publish"
},
"preferUnplugged": true,
"pre-commit": [
"precommit"
],
"lint-staged": {
"package.json": "prettier --config .prettierrc.yaml --write",
"./{srpc,echo,e2e,integration,rpcstream,cmd}/**/(*.ts|*.tsx|*.html|*.css)": "prettier --config .prettierrc.yaml --write"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"lint-staged": "^15.2.2",
"pre-commit": "^1.2.2",
"prettier": "^3.2.4",
"rimraf": "^6.0.1",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vitest": "^2.1.2"
},
"dependencies": {
"@aptre/it-ws": "^1.0.1",
"@aptre/protobuf-es-lite": "^0.4.6",
"@chainsafe/libp2p-yamux": "^7.0.1",
"@libp2p/interface": "^2.1.2",
"@libp2p/logger": "^5.1.0",
"event-iterator": "^2.0.0",
"isomorphic-ws": "^5.0.0",
"it-first": "^3.0.6",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.3",
"it-stream-types": "^2.0.2",
"uint8arraylist": "^2.4.7",
"ws": "^8.17.0"
},
"resolutions": {
"@aptre/protobuf-es-lite": "0.4.8"
}
}