forked from PyQt5/QSSEditorVsCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 2.41 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 2.41 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
117
118
119
120
121
122
123
124
{
"name": "qsseditor",
"displayName": "QSSEditor",
"description": "Qt StyleSheet Editor",
"version": "0.0.2",
"publisher": "Irony",
"author": {
"name": "Irony",
"url": "https://pyqt.site"
},
"engines": {
"vscode": "^1.67.0"
},
"keywords": [
"qss",
"qt",
"designer",
"style sheet"
],
"categories": [
"Programming Languages",
"Other"
],
"icon": "images/designer.png",
"repository": {
"type": "git",
"url": "https://github.com/PyQt5/QSSEditorVsCode"
},
"homepage": "https://github.com/PyQt5/QSSEditorVsCode",
"activationEvents": [
"onLanguage:css",
"onCommand:qsseditor.applyStyle",
"onCommand:qsseditor.setPort"
],
"main": "src/extension.js",
"contributes": {
"css": {
"customData": [
"data/qss.json"
]
},
"languages": [{
"id": "css",
"aliases": [
"CSS",
"QSS"
],
"extensions": [
".qss",
".css",
".style"
],
"filenames": [
".css",
".qss",
".style"
]
}],
"commands": [{
"command": "qsseditor.applyStyle",
"title": "%qsseditor.applyStyle.title%"
},
{
"command": "qsseditor.setPort",
"title": "%qsseditor.setPort.title%"
}
],
"keybindings": [{
"command": "qsseditor.applyStyle",
"key": "Shift+Alt+P",
"when": "editorTextFocus && editorLangId =~ /^css$|^qss$/"
}],
"menus": {
"editor/context": [{
"when": "editorTextFocus && editorLangId =~ /^css$|^qss$/",
"command": "qsseditor.applyStyle",
"group": "navigation"
}]
},
"configuration": {
"type": "object",
"title": "QSSEditor Configure",
"properties": {
"qsseditor.autoApply": {
"type": "boolean",
"default": true,
"description": "Auto apply style sheet"
},
"qsseditor.serverHost": {
"type": "string",
"default": "127.0.0.1",
"description": "DesignerProxy Host"
},
"qsseditor.serverPort": {
"type": "integer",
"default": 61052,
"minimum": 1,
"maximum": 65535,
"description": "DesignerProxy Port"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@types/vscode": "^1.67.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.14.0",
"glob": "^8.0.1",
"mocha": "^9.2.2",
"typescript": "^4.6.4",
"vscode": "^1.1.37"
},
"dependencies": {
"rpc-websockets": "^7.4.18"
}
}