-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.65 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
{
"name": "copycat",
"displayName": "CopyCat",
"description": "Don't be a copycat, write your own code",
"version": "1.0.3",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"icon": "/media/CopyCat.jpeg",
"publisher": "GDX-COPYCAT",
"repository": "https://github.com/Hack-Roll-2023/copycat",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"views": {
"explorer": [
{
"type": "webview",
"id": "copycat.colorsView",
"name": "Copycat",
"icon": "/media/copycat.svg"
}
]
},
"commands": [
{
"command": "copycat.paste",
"title": "Copycat: Paste"
},
{
"command": "copycat.copy",
"title": "Copycat: Copy"
},
{
"command": "copycat.cut",
"title": "Copycat: Cut"
},
{
"command": "copycat.undo",
"title": "Copycat: Undo"
}
],
"keybindings": [
{
"command": "copycat.paste",
"key": "ctrl+v",
"mac": "cmd+v",
"when": "editorTextFocus && !editorReadonly"
},
{
"command": "copycat.copy",
"key": "ctrl+c",
"mac": "cmd+c",
"when": "editorTextFocus && !editorReadonly"
},
{
"command": "copycat.cut",
"key": "ctrl+x",
"mac": "cmd+x",
"when": "editorTextFocus && !editorReadonly"
},
{
"command": "copycat.undo",
"key": "ctrl-z",
"mac": "cmd+z",
"when": "editorTextFocus && !editorReadonly"
}
],
"configuration": {
"type": "object",
"title": "Copycat",
"properties": {
"copycat.pasteCommand": {
"type": "string",
"markdownDescription": "The command to use if there is no current selection when pasting",
"default": "editor.action.clipboardPasteAction"
},
"copycat.copyCommand": {
"type": "string",
"markdownDescription": "The command to use to copy the selection",
"default": "editor.action.clipboardCopyAction"
},
"copycat.cutCommand": {
"type": "string",
"markdownDescription": "The command to use to cut the selection",
"default": "editor.action.clipboardCutAction"
},
"copycat.undoCommand": {
"type": "string",
"markdownDescription": "The command to use to undo the last operation",
"default": "undo"
},
"copycat.retainThroughDuplicateSelections": {
"type": "boolean",
"markdownDescription": "If true, and the same text is selected subsequently when pasting, the originally selected text is inserted again. This allows multiple replacements while still keeping the originally selected text.",
"default": true
},
"copycat.debug": {
"type": "boolean",
"markdownDescription": "Create a debug channel in the output panel.",
"default": false
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm 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": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "~18.19.8",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.56.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}