-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.47 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
{
"name": "linhieng-misc",
"publisher": "linhieng",
"version": "0.0.4",
"engines": {
"vscode": "^1.87.0"
},
"type": "module",
"main": "./out/extension.js",
"displayName": "__ linhieng 自用扩展 - 大杂烩",
"description": "个人使用的 vscode 扩展,一些零零碎碎的内容",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Linhieng/vs-misc.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown"
],
"scripts": {
"package": "node build.js && npm run bundle && cd dist && npx @vscode/vsce package",
"publish": "npm run package && cd dist && npx @vscode/vsce publish",
"bundle": "node esbuild.config.js",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src/**/*.ts ",
"lint:fix": "eslint src/**/*.ts --fix",
"test": "vscode-test"
},
"contributes": {
"commands": [
{
"command": "misc.pasteLink",
"title": "Paste Link",
"category": "linhieng-misc"
},
{
"command": "misc.insertNumber",
"title": "Insert orderly number",
"category": "linhieng-misc"
},
{
"command": "misc.nextLinewithSemicolon",
"title": "Insert a Semicolon in the end of current line and go next line",
"category": "linhieng-misc"
}
],
"keybindings": [
{
"command": "misc.pasteLink",
"key": "Ctrl+K Ctrl+V",
"when": "editorTextFocus && editorLangId == markdown"
},
{
"command": "misc.nextLinewithSemicolon",
"key": "Alt+Enter",
"when": "editorTextFocus && !editorReadonly && (editorLangId == rust || editorLangId == c)"
}
]
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.87.0",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"globals": "^14.0.0",
"typescript": "^5.3.3",
"typescript-eslint": "^7.1.1"
}
}