-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
90 lines (90 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
{
"name": "vscode-browser-refresh",
"displayName": "Browser Refresh",
"publisher": "fabiospampinato",
"repository": "github:fabiospampinato/vscode-browser-refresh",
"description": "Refresh the browser with a ⌘R, right from Code. No need to switch focus to it.",
"icon": "resources/logo-128x128.png",
"version": "2.0.3",
"main": "dist/index.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Browser Refresh - Configuration",
"properties": {
"browserRefresh.browser": {
"type": "string",
"description": "The browser to refresh",
"default": "Google Chrome"
},
"browserRefresh.delay": {
"type": "number",
"description": "Delay after which ⌘R will be sent to the browser, in milliseconds",
"default": 0
},
"browserRefresh.focus": {
"type": "boolean",
"description": "Keep the focus on the browser",
"default": false
}
}
},
"commands": [
{
"command": "browserRefresh.refresh",
"title": "Browser: Refresh"
},
{
"command": "browserRefresh.forceRefresh",
"title": "Browser: Force Refresh"
}
],
"keybindings": [
{
"command": "browserRefresh.refresh",
"key": "ctrl+r",
"mac": "cmd+r"
},
{
"command": "browserRefresh.forceRefresh",
"key": "shift+ctrl+r",
"mac": "shift+cmd+r"
}
]
},
"scripts": {
"bundle:dev": "tsex bundle --external vscode --format cjs --platform node --no-declare",
"bundle:prod": "tsex bundle --external vscode --format cjs --platform node --minify",
"clean": "tsex clean",
"compile": "tsex compile",
"debug": "code --extensionDevelopmentPath $PWD --inspect-extensions 9222",
"package": "vsce package",
"prepublishOnly": "scex -bs clean bundle:prod",
"vscode:prepublish": "scex -bs clean bundle:prod",
"dev": "scex -bs bundle:dev debug",
"prod": "scex -bs bundle:prod debug"
},
"categories": [
"Other"
],
"engines": {
"vscode": "^1.87.0"
},
"keywords": [
"vscode",
"vsc",
"extension",
"browser",
"refresh"
],
"dependencies": {
"vscode-extras": "^1.6.0"
},
"devDependencies": {
"@types/vscode": "^1.87.0",
"esbuild": "0.20.1",
"scex": "^1.1.0",
"tsex": "^3.2.0",
"typescript": "^5.4.2"
}
}