-
Notifications
You must be signed in to change notification settings - Fork 89
/
package.json
58 lines (58 loc) · 1.45 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
{
"name": "@hoprnet/hopr-protos",
"version": "1.22.0-alpha.0",
"description": "",
"repository": "https://github.com/hoprnet/hoprnet.git",
"homepage": "https://hoprnet.org",
"files": [
"node/",
"web/",
"protos/",
"docs/",
"README.md"
],
"main": "index.js",
"license": "GPL-3.0-only",
"scripts": {
"build": "yarn build:protos",
"build:protos": "yarn build:protos:node && yarn build:protos:web",
"build:protos:node": "rimraf node && mkdirp node && node ./scripts/generateNode.js",
"build:protos:web": "rimraf web && mkdirp web && node ./scripts/generateWeb.js",
"fix:types": "replace 'from \"grpc\"' 'from \"@grpc/grpc-js\"' . -r --include=\"*.d.ts\"",
"test": "yarn build:protos",
"prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=12.9.1",
"yarn": "1"
},
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"dependencies": {
"google-protobuf": "^3.12.2",
"grpc": "^1.24.3"
},
"devDependencies": {
"@types/google-protobuf": "^3.7.2",
"@types/node": "^12.11.0",
"glob": "^7.1.6",
"grpc-tools": "^1.9.0",
"microbundle": "^0.12.2",
"mkdirp": "^1.0.4",
"protoc-gen-grpc-web": "^1.2.0",
"replace": "^1.2.0",
"rimraf": "^3.0.2",
"ts-protoc-gen": "^0.13.0",
"typescript": "^4.0.3"
},
"peerDependencies": {
"grpc-web": "^1.2.0"
}
}