forked from angular/vscode-ng-language-service
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
195 lines (195 loc) · 5.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "ng-template",
"displayName": "Angular Language Service",
"description": "Editor services for Angular templates",
"version": "12.2.0-next.0",
"publisher": "Angular",
"icon": "angular.png",
"license": "MIT",
"keywords": [
"Angular",
"multi-root ready"
],
"engines": {
"vscode": "^1.56.0"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "This extension requires workspace trust because it needs to execute ngcc from the node_modules in the workspace."
}
},
"categories": [
"Programming Languages"
],
"contributes": {
"commands": [
{
"command": "angular.restartNgServer",
"title": "Restart Angular Language server",
"category": "Angular"
},
{
"command": "angular.openLogFile",
"title": "Open Angular Server log",
"category": "Angular"
},
{
"command": "angular.getTemplateTcb",
"title": "View Template Typecheck Block",
"category": "Angular"
},
{
"command": "angular.goToComponentWithTemplateFile",
"title": "Go to component",
"category": "Angular"
}
],
"menus": {
"commandPalette": [
{
"command": "angular.goToComponentWithTemplateFile",
"when": "editorLangId == html"
}
],
"editor/context": [
{
"when": "resourceLangId == html || resourceLangId == typescript",
"command": "angular.getTemplateTcb",
"group": "angular"
},
{
"when": "resourceLangId == html",
"command": "angular.goToComponentWithTemplateFile",
"group": "angular"
}
]
},
"configuration": {
"title": "Angular Language Service",
"properties": {
"angular.log": {
"type": "string",
"enum": [
"off",
"terse",
"normal",
"verbose"
],
"default": "off",
"description": "Enables logging of the Angular server to a file. This log can be used to diagnose Angular Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project."
},
"angular.view-engine": {
"type": "boolean",
"default": false,
"description": "Use legacy View Engine language service."
},
"angular.enable-strict-mode-prompt": {
"type": "boolean",
"default": true,
"markdownDescription": "Prompt to enable the [strictTemplates](https://angular.io/guide/angular-compiler-options#stricttemplates) flag in [angularCompilerOptions](https://angular.io/guide/angular-compiler-options). Note that strict mode is only available when using Ivy."
},
"angular.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the Angular language server."
}
}
},
"grammars": [
{
"path": "./syntaxes/inline-template.json",
"scopeName": "inline-template.ng",
"injectTo": [
"source.ts"
],
"embeddedLanguages": {
"text.html": "html",
"source.css": "css",
"source.js": "javascript"
}
},
{
"path": "./syntaxes/inline-styles.json",
"scopeName": "inline-styles.ng",
"injectTo": [
"source.ts"
],
"embeddedLanguages": {
"source.css": "css"
}
},
{
"path": "./syntaxes/template.json",
"scopeName": "template.ng",
"injectTo": [
"text.html.derivative",
"source.ts"
],
"embeddedLanguages": {
"text.html": "html",
"source.css": "css"
}
},
{
"path": "./syntaxes/expression.json",
"scopeName": "expression.ng"
}
]
},
"activationEvents": [
"onLanguage:html",
"onLanguage:typescript"
],
"main": "./dist/client/extension",
"scripts": {
"compile": "tsc -b server/banner.tsconfig.json && tsc -b && node esbuild.js",
"compile:test": "tsc -b test.tsconfig.json",
"compile:integration": "tsc -b integration",
"compile:syntaxes-test": "tsc -b syntaxes/test",
"build:syntaxes": "tsc -b syntaxes && node dist/syntaxes/build.js",
"format": "scripts/format.sh",
"watch": "tsc -b -w",
"package": "rm -rf dist && node scripts/package.js",
"test": "yarn compile:test && jasmine --config=jasmine.json",
"test:inspect": "yarn compile:test && node --inspect-brk node_modules/jasmine/bin/jasmine.js --config=jasmine.json",
"test:lsp": "yarn compile:integration && jasmine --config=integration/lsp/jasmine.json",
"test:e2e": "yarn compile:integration && node dist/integration/e2e",
"test:syntaxes": "yarn compile:syntaxes-test && yarn build:syntaxes && jasmine dist/syntaxes/test/driver.js"
},
"dependencies": {
"@angular/language-service": "12.1.0",
"typescript": "4.3.4",
"vscode-jsonrpc": "6.0.0",
"vscode-languageclient": "7.0.0",
"vscode-languageserver": "7.0.0",
"vscode-uri": "3.0.2"
},
"devDependencies": {
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#135e16053c2b065dbe9a5004668ac82f21386bed",
"@types/jasmine": "3.7.7",
"@types/node": "14.17.4",
"@types/vscode": "1.56.0",
"clang-format": "1.5.0",
"esbuild": "0.12.5",
"jasmine": "3.7.0",
"prettier": "2.3.2",
"tslint": "6.1.3",
"tslint-eslint-rules": "5.4.0",
"vsce": "1.95.0",
"vscode-languageserver-protocol": "3.16.0",
"vscode-languageserver-textdocument": "1.0.1",
"vscode-test": "1.5.2",
"vscode-tmgrammar-test": "0.0.11"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/vscode-ng-language-service"
}
}