-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
95 lines (95 loc) · 2.41 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
{
"name": "highlight-on-copy",
"displayName": "Highlight on Copy",
"publisher": "mguellsegarra",
"description": "Briefly flash and highlight selected copied text",
"version": "1.1.4",
"icon": "icon.png",
"engines": {
"vscode": "^1.85.0"
},
"tags": [
"copy",
"yank",
"highlight",
"clipboard",
"flash"
],
"categories": [
"Keymaps",
"Other",
"Visualization"
],
"repository": {
"url": "https://github.com/mguellsegarra/highlight-on-copy"
},
"author": {
"name": "Marc Güell Segarra",
"url": "https://ondori.dev"
},
"sponsor": {
"url": "https://github.com/sponsors/mguellsegarra"
},
"license": "MIT",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "highlightOnCopy.run",
"title": "Copy and highlight selected text"
}
],
"configuration": {
"type": "object",
"properties": {
"highlightOnCopy.foregroundColor": {
"type": "string",
"description": "Foreground color for highlighting selected copied text"
},
"highlightOnCopy.backgroundColor": {
"type": "string",
"default": "rgba(230, 97, 89, 0.7)",
"description": "Background color for highlighting selected copied text"
},
"highlightOnCopy.timeout": {
"type": "number",
"default": 200,
"description": "Timeout duration in milliseconds"
}
}
},
"keybindings": [
{
"command": "highlightOnCopy.run",
"key": "ctrl+c",
"mac": "cmd+c",
"when": "editorTextFocus && highlightOnCopy.init"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"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 --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"vscode-test": "^1.6.1"
}
}