-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
109 lines (109 loc) · 2.98 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
{
"name": "esphome-vscode",
"displayName": "ESPHome",
"description": "Provide instant validation of ESPHome configuration files",
"version": "2023.9.0",
"engines": {
"vscode": "^1.63.0"
},
"publisher": "ESPHome",
"icon": "esphome128.png",
"repository": {
"type": "git",
"url": "https://github.com/esphome/esphome-vscode.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:esphome"
],
"main": "./client/out/extension",
"contributes": {
"taskDefinitions": [
{
"type": "esphome"
}
],
"configuration": {
"title": "ESPHome",
"properties": {
"esphome.validator": {
"type": "string",
"default": "local",
"enum": [
"local",
"dashboard"
],
"enumDescriptions": [
"Uses a local installation of ESPHome",
"Uses a remote dashboard "
]
},
"esphome.dashboardUri": {
"type": "string",
"default": "hassio:6052",
"description": "Specifies the dashboard uri location, e.g. http://homeassistant:6052/."
}
}
},
"languages": [
{
"id": "esphome",
"configuration": "./yaml-language/language-configuration.json",
"extensions": [
".yml",
".yaml"
],
"aliases": [
"ESPHome"
]
}
],
"grammars": [
{
"language": "esphome",
"scopeName": "source.yaml-esphome",
"path": "./yaml-language/yaml.tmLanguage.json",
"embeddedLanguages": {
"source.cpp": "cpp",
"meta.embedded.block.cpp": "cpp"
},
"_tokenTypes": {
"cpp.lambda.directive.tag.yaml": "other"
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run webpack",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"webpack": "npm run clean && npm run compile && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && npm run compile && webpack --mode none --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"clean": "rimraf client/out && rimraf server/out",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "^12.20.33",
"@typescript-eslint/parser": "^4.16.1",
"eslint": "^7.2.0",
"merge-options": "^3.0.4",
"mocha": "^9.2.2",
"node-ts": "^5.1.2",
"rimraf": "^3.0.2",
"ts-loader": "^8.3.0",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.0.4",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.1"
},
"mocha": {
"files": "server/test/**/*.ts",
"require": "ts-node/register"
}
}