generated from bitfocus/companion-module-template-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.6 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
{
"name": "dmxcontrolprojects-dmxcontrol3",
"version": "0.1.0",
"main": "dist/main.js",
"scripts": {
"format": "prettier -w .",
"lint": "eslint --ext .ts .",
"generate:protocode": "grpc_tools_node_protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./dist/generated --grpc_out=grpc_js:./dist/generated -I ./proto $(find ./proto -name '*.proto')",
"generate:prototype": "grpc_tools_node_protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=generate_package_definition:./src/generated -I ./proto $(find ./proto -name '*.proto')",
"generate:proto": "yarn generate:protocode && yarn generate:prototype",
"build": "node tools/cleanfolder && node tools/genfolder.js && yarn generate:proto && yarn build:main",
"build:main": "tsc -p tsconfig.build.json",
"package": "yarn build && yarn companion-module-build",
"package:dev": "yarn build && yarn companion-module-build --dev"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/bitfocus/companion-module-dmxcontrolprojects-dmxcontrol3.git"
},
"dependencies": {
"@companion-module/base": "~1.9.0",
"@grpc/grpc-js": "^1.9.15",
"google-protobuf": "^3.21.4"
},
"devDependencies": {
"@companion-module/tools": "^1.4.1",
"@types/google-protobuf": "^3",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"grpc-tools": "^1.12.4",
"grpc_tools_node_protoc_ts": "^5.3.3",
"prettier": "^3.2.5",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]"
}