-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
94 lines (94 loc) · 3.03 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@zmkfirmware/zmk-studio-ts-client",
"version": "0.0.18",
"description": "RPC client library for interacting with ZMK Studio enabled keyboards",
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./*": {
"types": "./lib/*.d.ts",
"import": "./lib/*.js"
}
},
"files": [
"lib/**/*"
],
"scripts": {
"generate": "run-script-os",
"generate:windows": "protoc --plugin=protoc-gen-ts_proto=.\\node_modules\\.bin\\protoc-gen-ts_proto.cmd --ts_proto_out=./src/ --ts_proto_opt=env=browser --proto_path=./zmk-studio-messages/proto/zmk/ ./zmk-studio-messages/proto/zmk/*.proto",
"generate:default": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/ --ts_proto_opt=env=browser --proto_path=./zmk-studio-messages/proto/zmk/ ./zmk-studio-messages/proto/zmk/*.proto",
"postinstall": "run-script-os",
"postinstall:windows": "IF exist src/ ( git submodule update --init && npm run generate && npm run build )",
"postinstall:default": "if [ -e src/ ]; then git submodule update --init && npm run generate && npm run build; fi",
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf ./lib/",
"cm": "cz",
"lint": "eslint ./src/ --fix",
"test:watch": "jest --watch",
"test": "jest --coverage",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zmkfirmware/zmk-studio-ts-client.git"
},
"license": "MIT",
"author": {
"name": "ZMK Project",
"email": "[email protected]",
"url": "https://github.com/zmkfirmware"
},
"engines": {
"node": ">=12.0"
},
"keywords": [
"typescript",
"rpc",
"protobuf",
"mechanical-keyboards"
],
"bugs": {
"url": "https://github.com/zmkfirmware/zmk-studio-ts-client/issues"
},
"homepage": "https://github.com/zmkfirmware/zmk#readme",
"dependencies": {
"async-mutex": "^0.5.0",
"protobufjs": "^7.3.2"
},
"devDependencies": {
"@ryansonshine/commitizen": "^4.2.8",
"@ryansonshine/cz-conventional-changelog": "^3.3.4",
"@types/jest": "^29.0.0",
"@types/node": "^12.20.11",
"@types/w3c-web-serial": "^1.0.6",
"@types/web-bluetooth": "^0.0.20",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"jest": "^29.0.0",
"lint-staged": "^13.2.1",
"prettier": "^2.2.1",
"run-script-os": "^1.1.6",
"ts-jest": "^29.0.0",
"ts-node": "^10.2.1",
"ts-proto": "^1.180.0",
"typescript": "^4.2.4",
"web-streams-polyfill": "4.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"lint-staged": {
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
}
}