-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.37 KB
/
Copy pathpackage.json
File metadata and controls
34 lines (34 loc) · 1.37 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
{
"name": "molder",
"version": "1.0.0",
"description": "",
"scripts": {
"test": "nodemon test/index.ts",
"watch": "nodemon --signal SIGTERM src/index.ts",
"build:dist": "npm run build:protos && tsc --pretty && npm run build:protos:dist",
"build:protos": "npm run build:protos:js && npm run build:protos:ts",
"build:protos:dist": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./dist/types --grpc_out=./dist/types --plugin=protoc-gen-grpc=./node_modules/grpc-tools/bin/grpc_node_plugin -I ./protos ./protos/*.proto",
"build:protos:js": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./src/types --grpc_out=./src/types --plugin=protoc-gen-grpc=./node_modules/grpc-tools/bin/grpc_node_plugin -I ./protos ./protos/*.proto",
"build:protos:ts": "protoc --plugin=protoc-gen-ts=./node_modules/grpc_tools_node_protoc_ts/bin/protoc-gen-ts --ts_out=./src/types -I ./protos ./protos/*.proto"
},
"keywords": [],
"author": "Garen Yondem",
"license": "MIT",
"dependencies": {
"grpc": "^1.24.2",
"sharp": "^0.25.2",
"typescript": "^3.7.2"
},
"devDependencies": {
"@types/node": "^13.1.6",
"@types/sharp": "^0.25.0",
"grpc-caller": "^0.13.0",
"grpc-tools": "^1.8.0",
"grpc_tools_node_protoc_ts": "^3.0.0",
"nodemon": "^2.0.3",
"ts-node": "^8.5.3"
},
"engines": {
"node": ">=12 <13"
}
}