-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 1.34 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
{
"name": "waterbus-proto",
"version": "1.1.12",
"description": "",
"author": "",
"license": "ISC",
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"proto-compile": "protoc --plugin=protoc-gen-ts_proto=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/interfaces/packages ./src/packages/*.proto --proto_path=./src/packages --ts_proto_opt=returnObservable=true --ts_proto_opt=outputClientImpl=false --ts_proto_opt=exportCommonSymbols=false --ts_proto_opt=outputEncodeMethods=false --ts_proto_opt=outputJsonMethods=false --ts_proto_opt=outputPartialMethods=false --ts_proto_opt=snakeToCamel=false --experimental_allow_proto3_optional=true",
"export": "bash export-script.sh src/interfaces/packages",
"build": "rm -rf dist src/interfaces && mkdir src/interfaces && mkdir src/interfaces/packages && npm run proto-compile && npm run export && tsc",
"build:dev": "tsc",
"postbuild": "cp -r src/packages dist/packages && cp package*.json dist && cd dist && npm ci --production",
"prepublishOnly": "npm pkg delete scripts",
"deploy-local": "bash deploy.sh"
},
"dependencies": {
"@grpc/grpc-js": "^1.9.3",
"rxjs": "^7.8.1",
"ts-proto": "^1.164.0"
},
"devDependencies": {
"nestjs-proto-gen-ts": "^1.0.21",
"typescript": "^5.2.2"
}
}