-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.27 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
{
"name": "copy-hover-type",
"displayName": "Copy Hover Type",
"description": "copy type in hover information.",
"publisher": "Young-Vform",
"repository": {
"url": "https://github.com/youngvform/copy-hover-type"
},
"icon": "images/copy-hover-type-icon.png",
"version": "0.0.7",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.copyHover",
"onCommand:extension.copyHoverType",
"onCommand:extension.copyHoverReturnType"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.copyHover",
"title": "Copy Full Hover Information",
"category": "Copy Hover Type"
},
{
"command": "extension.copyHoverType",
"title": "Copy Type in Hover Information",
"category": "Copy Hover Type"
},
{
"command": "extension.copyHoverReturnType",
"title": "Copy Return Type in Hover Information",
"category": "Copy Hover Type"
}
],
"keybindings": [
{
"command": "extension.copyHoverType",
"key": "ctrl+k ctrl+h",
"mac": "cmd+k cmd+h",
"when": "editorFocus"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == javascript || resourceLangId == javascriptreact || resourceLangId == typescript || resourceLangId == typescriptreact",
"command": "extension.copyHoverType",
"group": "9_cutcopypaste"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/remove-markdown": "^0.1.1",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
},
"dependencies": {
"remove-markdown": "^0.3.0"
}
}