forked from workadventure/workadventure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 2.24 KB
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
{
"name": "workadventure-messages",
"version": "1.0.0",
"description": "",
"scripts": {
"ts-proto": "grpc_tools_node_protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=../libs/messages/src/ts-proto-generated --ts_proto_opt=outputServices=grpc-js --ts_proto_opt=oneof=unions --ts_proto_opt=esModuleInterop=true -I ./protos protos/*.proto && sed -i '1i\\//@ts-nocheck' ../libs/messages/src/ts-proto-generated/*.ts",
"proto-all": "npm run ts-proto",
"proto:watch": "npm run proto-all; npm run proto:watch-files",
"proto:watch-files": "chokidar 'protos/*.proto' -c 'npm run proto-all'",
"tag-version": "sed -i \"s/apiVersionHash = \\\".*\\\"/apiVersionHash = \\\"$(sha1sum protos/messages.proto ../libs/messages/src/JsonMessages/* | sha1sum | cut -c1-8)\\\"/g\" ../libs/messages/src/JsonMessages/ApiVersion.ts",
"precommit": "lint-staged",
"pretty": "npm prettier --write '../libs/messages/src/JsonMessages/**/*.ts'"
},
"dependencies": {
"@anatine/zod-openapi": "^1.3.0",
"@grpc/grpc-js": "^1.8.8",
"google-protobuf": "^3.21.2",
"npm-run-all": "^4.1.5",
"openapi3-ts": "^3.0.2",
"ts-proto": "^2.4.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@bufbuild/protobuf": "^2.2.2",
"@types/google-protobuf": "^3.15.6",
"@types/node": "^14.14.7",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"chokidar-cli": "^3.0.0",
"dtslint": "^4.0.5",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-sonarjs": "^0.16.0",
"grpc-tools": "^1.11.3",
"grpc_tools_node_protoc_ts": "^5.3.2",
"lint-staged": "^11.0.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"sync-directory": "^5.1.7",
"typescript": "^5.7.2"
},
"repository": {
"type": "git",
"url": "https://github.com/CatsMiaow/node-grpc-typescript.git#grpc_tools_node_protoc_ts"
},
"keywords": [
"Node.js",
"gRPC",
"TypeScript"
],
"homepage": "https://github.com/thecodingmachine/workadventure",
"author": "David Négrier",
"license": "SEE LICENSE IN LICENSE.txt",
"lint-staged": {
"*.ts": [
"npm run pretty"
]
}
}