-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.08 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.08 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
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
{
"publisher": "blasdfaa",
"name": "js-consoler",
"displayName": "JS Consoler",
"version": "0.2.0",
"private": true,
"packageManager": "pnpm@10.27.0",
"description": "Quickly insert console.log() for selected code",
"author": "blasdfaa",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/blasdfaa/vscode-js-consoler"
},
"categories": [
"Other"
],
"main": "./dist/index.cjs",
"icon": "res/icon.png",
"files": [
"LICENSE.md",
"dist/*",
"res/*"
],
"engines": {
"vscode": "^1.97.0"
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:vue",
"onLanguage:svelte"
],
"contributes": {
"commands": [
{
"command": "js-consoler.insertLog",
"title": "Insert Console Log"
}
],
"keybindings": [
{
"command": "js-consoler.insertLog",
"key": "ctrl+shift+l",
"mac": "cmd+shift+l",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "JS Consoler",
"properties": {
"js-consoler.logTemplate": {
"type": "string",
"default": "console.log('{selected}', {selected})",
"description": "Template for console.log insertion. Use {selected} as placeholder for selected text, {line} for line number."
},
"js-consoler.enableCodeActions": {
"type": "boolean",
"default": true,
"description": "Show 'Log variable' quick actions (lightbulb) in the editor."
},
"js-consoler.enableHighlight": {
"type": "boolean",
"default": false,
"description": "Highlight console statements in the editor."
}
}
},
"colors": [
{
"id": "jsConsoler.highlightBackground",
"description": "Background color for highlighted console statements",
"defaults": {
"light": "#fff3cd",
"dark": "#3a3a2a",
"highContrast": "#ffcc00",
"highContrastLight": "#fff3cd"
}
}
]
},
"scripts": {
"build": "tsdown src/index.ts --external vscode",
"dev": "nr build --watch --sourcemap",
"prepare": "nr update",
"update": "vscode-ext-gen --output src/generated/meta.ts",
"lint": "eslint .",
"test": "vitest",
"typecheck": "tsc --noEmit",
"vscode:prepublish": "nr build",
"release": "bumpp",
"ext:package": "vsce package --no-dependencies",
"ext:publish": "vsxpub --no-dependencies --exclude vsce"
},
"devDependencies": {
"@antfu/eslint-config": "^6.7.3",
"@antfu/ni": "^28.0.0",
"@types/node": "^25.0.3",
"@types/vscode": "^1.97.0",
"@vscode/vsce": "3.6.3-3",
"bumpp": "^10.3.2",
"eslint": "^9.39.2",
"ovsx": "^0.10.7",
"reactive-vscode": "^1.0.0-beta.2",
"taze": "^19.9.2",
"tsdown": "^0.19.0-beta.3",
"typescript": "^5.9.3",
"vite": "^7.3.0",
"vitest": "^4.0.16",
"vscode-ext-gen": "^1.5.1",
"vsxpub": "^0.1.2"
}
}