-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.53 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
{
"name": "koishi-plugin-adapter-kritor",
"description": "Kritor Protocol Adapter for Koishi",
"version": "0.1.2",
"main": "lib/index.js",
"typings": "index.d.ts",
"files": [
"lib",
"dist",
"index.d.ts"
],
"scripts": {
"build:cjs": "esbuild src/index.ts --outfile=lib/index.js --bundle --platform=node --target=es2022 --external:koishi",
"build:proto": "proto-loader-gen-types --defaults --oneofs --grpcLib=@grpc/grpc-js --includeDirs=./src/kritor/protos ./ --outDir=./src/generated/ ./src/kritor/protos/*/*.proto",
"build-ps": "yarn build:proto && powershell Copy-Item -Path ./src/kritor/protos -Destination ./lib/kritor/protos -Recurse -Force && yarn build:cjs",
"build": "yarn build:proto && cpy './kritor/protos' '../../lib' --cwd=src && yarn build:cjs"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/idranme/koishi-plugin-adapter-kritor.git"
},
"bugs": {
"url": "https://github.com/idranme/koishi-plugin-adapter-kritor/issues"
},
"homepage": "https://github.com/idranme/koishi-plugin-adapter-kritor#readme",
"keywords": [
"chatbot",
"koishi",
"plugin",
"kritor",
"bot",
"protocol",
"robotics"
],
"peerDependencies": {
"koishi": "^4.17.7"
},
"devDependencies": {
"@grpc/grpc-js": "^1.10.11",
"@grpc/proto-loader": "^0.7.13",
"cpy-cli": "^5.0.0",
"esbuild": "^0.23.0"
},
"koishi": {
"description": {
"en": "Kritor Protocol Adapter",
"zh": "Kritor 协议适配器"
}
}
}