-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
190 lines (190 loc) · 5.82 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "coc-rime",
"version": "0.1.5",
"description": "Rime input method integration of coc.nvim",
"author": "Tony Fettes <[email protected]>",
"license": "MIT",
"main": "lib/index.js",
"keywords": ["coc.nvim", "rime"],
"engines": {
"coc": "^0.0.80"
},
"scripts": {
"lint": "biome lint",
"clean": "rimraf lib",
"watch": "node esbuild.js --watch",
"prepack": "xmake -y && xmake install && pkg-prebuilds-copy --baseDir build/Release --source rime.node --name=rime --strip --napi_version=7 && node esbuild.js",
"prepare": "npm-run-all clean prepack"
},
"devDependencies": {
"@types/mkdirp": "^0.5.2",
"biome": "^0.3.3",
"coc.nvim": "^0.0.80",
"esbuild": "^0.20.2",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"pkg-prebuilds": "^1.0.0",
"rimraf": "^5.0.5",
"typescript": "^4.1.2",
"vscode-languageserver-protocol": "^3.14.1",
"vscode-languageserver-textdocument": "^1.0.1",
"vscode-languageserver-types": "^3.14.0",
"xmake-build-system": "2.9.7"
},
"activationEvents": ["*"],
"contributes": {
"configuration": {
"type": "object",
"title": "coc-rime configuration",
"properties": {
"rime.enabled": {
"type": "boolean",
"default": false,
"description": "Enable coc-rime extension"
},
"rime.schemaId": {
"type": "string",
"description": "Rime schema selected when startup"
},
"rime.shortcut": {
"type": "string",
"default": "ㄓ",
"description": "Rime source shortcut"
},
"rime.priority": {
"type": "number",
"default": 2,
"description": "Priority of Rime completion source"
},
"rime.traits.shared_data_dir": {
"oneOf": [
{
"type": ["string", "null"]
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": [
"${process.env.PREFIX}/share/rime-data",
"/usr/share/rime-data",
"/run/current-system/sw/share/rime-data",
"/sdcard/rime-data"
],
"description": "shared data directory of rime. `null` will not use shared data (just use user data)"
},
"rime.traits.user_data_dir": {
"oneOf": [
{
"type": ["string", "null"]
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": [
"${process.env.HOME}/.config/ibus/rime",
"${process.env.HOME}/.config/fcitx/rime",
"${process.env.HOME}/.local/share/fcitx5/rime",
"/sdcard/rime"
],
"description": "user data directory of rime. `null` will not use user data (just use shared data)"
},
"rime.traits.log_dir": {
"type": ["string", "null"],
"default": "",
"description": "log directory of rime. By default, it will be `~/.config/coc/extensions/coc-rime-data`. `null` will disable logging"
},
"rime.traits.distribution_name": {
"type": ["string", "null"],
"default": "Rime"
},
"rime.traits.distribution_code_name": {
"type": "string",
"default": "coc-rime"
},
"rime.traits.distribution_version": {
"type": "string",
"default": "0.1.3"
},
"rime.traits.app_name": {
"type": ["string", "null"],
"default": "rime.coc-rime",
"description": "Pass a C-string constant in the format \"rime.x\" where 'x' is the name of your application. Add prefix \"rime.\" to ensure old log files are automatically cleaned."
},
"rime.traits.min_log_level": {
"type": "integer",
"enum": [0, 1, 2, 3],
"default": 3,
"description": "Minimal level of logged messages. Value is passed to Glog library using FLAGS_minloglevel variable. 0 = INFO (default), 1 = WARNING, 2 = ERROR, 3 = FATAL"
},
"rime.ui.indices": {
"type": "array",
"items": {
"type": "string"
},
"default": ["①", "②", "③", "④", "⑤", "⑥", "⑦", "⑧", "⑨", "⓪"],
"description": "indices for IME"
},
"rime.ui.left": {
"type": "string",
"default": "<|",
"description": "left symbol for IME"
},
"rime.ui.right": {
"type": "string",
"default": "|>",
"description": "right symbol for IME"
},
"rime.ui.left_sep": {
"type": "string",
"default": "[",
"description": "left separator for IME"
},
"rime.ui.right_sep": {
"type": "string",
"default": "]",
"description": "right separator for IME"
},
"rime.ui.cursor": {
"type": "string",
"default": "|",
"description": "cursor symbol for IME"
}
}
},
"commands": [
{
"command": "rime.source.enable",
"title": "Enable the Rime source"
},
{
"command": "rime.source.disable",
"title": "Disable the Rime source"
},
{
"command": "rime.source.toggle",
"title": "Toggle the Rime source"
},
{
"command": "rime.enable",
"title": "Enable the Rime IME"
},
{
"command": "rime.disable",
"title": "Disable the Rime IME"
},
{
"command": "rime.toggle",
"title": "Toggle the Rime IME"
}
]
},
"packageManager": "[email protected]+sha256.f3cc0eda8e5560e529c7147565b30faa43b4e472d90e8634d7134a37c7f59781"
}