-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.19 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.19 KB
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
{
"name": "im-switcher",
"displayName": "im-switcher",
"description": "auto-switches to English input method when focused.",
"version": "0.0.2",
"icon": "icon.png",
"author": {
"name": "liyincode"
},
"publisher": "liyincode",
"repository": {
"type": "git",
"url": "https://github.com/liyincode/im-switcher"
},
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Input Method Switcher",
"properties": {
"imSwitch.englishIME": {
"type": "string",
"default": "",
"description": "English IME identifier (e.g., 'com.apple.keylayout.ABC' for macOS, '1033' for Windows)."
},
"imSwitch.obtainIMCmd": {
"type": "string",
"default": "im-select",
"description": "Command to get current input method."
},
"imSwitch.switchIMCmd": {
"type": "string",
"default": "im-select {im}",
"description": "Command to switch input method. Use {im} as placeholder for the input method identifier."
},
"imSwitch.debugLog": {
"type": "boolean",
"default": false,
"description": "Enable debug logging to output channel."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.50.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"eslint": "^9.23.0",
"typescript": "^5.8.2",
"ts-loader": "^9.5.2",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}