-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
126 lines (126 loc) · 3.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
{
"name": "coc-homeassistant",
"version": "master",
"description": "Home Assistant extension for coc.nvim, based on vscode-home-assistant.",
"engines": {
"coc": ">= 0.0.24"
},
"categories": [
"Other",
"Programming Languages",
"Formatters",
"Snippets"
],
"main": "lib/extension.js",
"publisher": "danielwelch",
"repository": {
"type": "git",
"url": "https://github.com/danielwelch/coc-homeassistant/"
},
"bugs": {
"url": "https://github.com/danielwelch/coc-homeassistant/issues",
"email": "[email protected]"
},
"activationEvents": [
"onLanguage:home-assistant",
"workspaceContains:configuration.yaml",
"workspaceContains:ui-lovelace.yaml",
"onFileSystem:ftp",
"onFileSystem:ssh",
"onFileSystem:sftp"
],
"author": "[email protected]",
"license": "MIT",
"keywords": [
"home",
"assistant",
"home-assistant",
"homeassistant",
"coc.nvim"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Home Assistant",
"properties": {
"homeassistant.enable": {
"type": "boolean",
"default": true,
"description": "Enable the Home Assistant Extension."
},
"homeassistant.hostUrl": {
"type": "string",
"default": "http://hassio.local",
"description": "The Host URL of your Home Assistant Host, only protocol, host and port (no path or querystring)"
},
"homeassistant.longLivedAccessToken": {
"type": "string",
"description": "The Long Lived Access-Token for Home Assistant. Obtain a token via your user profile page in Home Assitant."
},
"homeassistant.ignoreCertificates": {
"type": "boolean",
"default": false,
"description": "Enable insecure transport. Check this if you want to connect over an insecure HTTPS transport with an invalid certificate!"
}
},
"snippets": [
{
"language": "home-assistant",
"path": "./lib/snippets/homeassistant_automation.json"
},
{
"language": "home-assistant",
"path": "./lib/snippets/homeassistant_group.json"
},
{
"language": "home-assistant",
"path": "./lib/snippets/homeassistant_script.json"
},
{
"language": "home-assistant",
"path": "./lib/snippets/homeassistant_sensor.json"
}
],
"languages": [
{
"id": "home-assistant",
"configuration": "./yaml-language/language-configuration.json",
"extensions": [
".yml",
".yaml"
],
"aliases": [
"Home Assistant"
]
}
],
"grammars": [
{
"language": "home-assistant",
"scopeName": "source.yaml",
"path": "./yaml-language/yaml.tmLanguage.json"
}
]
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"watch": "tsc -watch -p tsconfig.json",
"lint": "tslint -c tslint.json --project tsconfig.json",
"updateVersion": "dot-json package.json version",
"srcDiff": "diff -u -r tmp/src src | diff2html -s side -f html -d word --file src_diff.html -i stdin",
"yamlDiff": "diff -u -r tmp/yaml-language yaml-language | diff2html -s side -f html -d word --file yaml_diff.html -i stdin"
},
"devDependencies": {
"@types/node": "^10.14.6",
"ts-node": "8.1.0",
"tslint": "^5.16.0",
"typescript": "^3.4.5",
"coc.nvim": "^0.0.67",
"dot-json": "1.1.0",
"diff2html-cli": "2.7.0"
},
"dependencies": {
"home-assistant-language-service": "1.0.9"
}
}