forked from openhab/openhab-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.78 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
{
"name": "openhab",
"displayName": "openHAB",
"description": "openHAB syntax highlight, code snippets, integrated Basic UI preview and docs search",
"version": "0.0.1",
"publisher": "openhab",
"icon": "openhab.png",
"repository": {
"type": "git",
"url": "https://github.com/openhab/openhab-vscode.git"
},
"engines": {
"vscode": "^1.13.0"
},
"categories": [
"Languages",
"Snippets",
"Other"
],
"activationEvents": [
"onCommand:openhab.searchDocs",
"onCommand:openhab.basicUI",
"onLanguage:openhab"
],
"main": "./out/src/extension",
"contributes": {
"menus": {
"editor/title": [{
"when": "resourceLangId == openhab",
"command": "openhab.basicUI",
"group": "navigation"
}]
},
"keybindings": [{
"when": "resourceLangId == openhab",
"command": "openhab.basicUI",
"key": "ctrl+alt+o",
"mac": "cmd+alt+o"
}, {
"when": "resourceLangId == openhab",
"command": "openhab.searchDocs",
"key": "shift+alt+o"
}],
"commands": [{
"command": "openhab.searchDocs",
"title": "openHAB: Search in Docs"
}, {
"command": "openhab.basicUI",
"title": "openHAB: Open Basic UI",
"icon": {
"light": "./images/oh_color.svg",
"dark": "./images/oh.svg"
}
}],
"languages": [{
"id": "openhab",
"aliases": ["openHAB"],
"extensions": [
".rules",
".script",
".items",
".sitemap",
".things",
".persist"
],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "openhab",
"scopeName": "source.openhab",
"path": "./syntaxes/openhab.tmLanguage.json"
}],
"snippets": [{
"language": "openhab",
"path": "./snippets/openhabrules.json"
}, {
"language": "openhab",
"path": "./snippets/openhab.json"
}]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
},
"dependencies": {
"@types/lodash": "^4.14.58",
"lodash": "^4.17.4"
}
}