-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 4.21 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
{
"name": "custom-elements-language-server-project",
"displayName": "Custom Elements Language Server",
"description": "A language server for Custom Elements and Web Components",
"author": "Matsuuu <huhta.matias@gmail.com>",
"icon": "assets/custom-elements.png",
"license": "MIT",
"version": "1.0.4",
"publisher": "Matsuuu",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"onLanguage:plaintext",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:html",
"workspaceContains:**/package.json"
],
"main": "./dist/client/vscode/src/extension",
"contributes": {
"commands": [
{
"command": "extension.restart",
"title": "Custom Elements Language Server: Restart"
}
],
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"languageServerExample.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "verbose",
"description": "Traces the communication between VS Code and the language server."
}
}
},
"grammars": [
{
"injectTo": [
"source.js",
"source.js.jsx",
"source.jsx",
"source.ts",
"source.tsx",
"text.html.basic"
],
"scopeName": "inline.lit-html",
"path": "./syntaxes/vscode-lit-html/lit-html.json",
"embeddedLanguages": {
"meta.embedded.block.html": "html",
"meta.embedded.block.css": "css",
"source.css": "css"
}
},
{
"injectTo": [
"source.js",
"source.js.jsx",
"source.jsx",
"source.ts",
"source.tsx",
"text.html.basic"
],
"scopeName": "inline.lit-html.string.injection",
"path": "./syntaxes/vscode-lit-html/lit-html-string-injection.json",
"embeddedLanguages": {
"meta.template.expression.ts": "typescript"
}
}
]
},
"scripts": {
"build": "npm run build --workspaces --if-present",
"build:all": "npm run build:with-types --workspaces --if-present",
"dev": "concurrently \"cd lib/server && npm run start\" \"cd lib/html-template-literal-tsserver-plugin && npm run start\"",
"install:server": "cd lib/server && npm install -g .",
"format": "npx prettier --write .",
"localinstall": "npm run build:all && npm run install:server",
"build:final": "esbuild ./lib/client/vscode/src/extension.ts ./lib/server/src/server.ts --bundle --platform=node --external:vscode --outdir=dist",
"build:dev": "npm run build:final -- --watch --sourcemap",
"bundle": "npm run build:all && npm run build:final",
"package": "vsce package",
"build-and-package": "rm -rf ./dist && npm run bundle && npm run package"
},
"devDependencies": {
"concurrently": "^7.5.0",
"esbuild": "^0.17.6"
},
"types": "./lib/client/vscode/out/extension.d.ts",
"directories": {
"lib": "lib"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Matsuuu/custom-elements-language-server.git"
},
"bugs": {
"url": "https://github.com/Matsuuu/custom-elements-language-server/issues"
},
"homepage": "https://github.com/Matsuuu/custom-elements-language-server#readme",
"workspaces": [
"./lib/custom-elements-languageserver-core",
"./lib/template-language-service",
"./lib/server",
"./lib/client/vscode"
]
}