-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.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
{
"name": "vscode-smarty",
"publisher": "ssigwart",
"repository": {
"type": "git",
"url": "https://github.com/ssigwart/vscode-smarty"
},
"displayName": "Smarty Language Server",
"description": "Smarty language support",
"version": "1.0.17",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Programming Languages",
"Language Packs",
"Formatters",
"Linters"
],
"keywords": [
"Smarty"
],
"activationEvents": [
"onLanguage:smarty",
"onLanguage:php"
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "smarty",
"aliases": [
"Smarty",
"smarty"
],
"extensions": [
".tpl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "smarty",
"scopeName": "text.html.smarty",
"path": "./syntaxes/smarty.tmLanguage.json"
}
],
"commands": [
{
"command": "smarty.copyTplPath",
"title": "Copy Smarty TPL path",
"enablement": "editorLangId == smarty"
}
],
"configuration": {
"type": "object",
"title": "Smarty",
"properties": {
"smarty.maxNumberOfDiagnosticMsgs": {
"scope": "resource",
"type": "number",
"default": 1000,
"description": "Controls the maximum number of diagnostic messages (E.g. XSS warnings) to generate."
},
"smarty.disableHtmlAttributeCompletionQuotes": {
"scope": "resource",
"type": "boolean",
"default": false,
"markdownDescription": "When completing an HTML attribute such as `class=\"...\"`, should quotes be stripped? If you like this option, please add a +1 react and comment on https://github.com/microsoft/vscode/issues/131144 to request that it be added to the standard HTML language in VS Code."
},
"smarty.pluginDirs": {
"scope": "window",
"type": "array",
"default": [],
"description": "List of directories that include Smarty plugins. By default, the “plugins” directory in the workspace root is included."
},
"smarty.xssExemptRegularExpressions": {
"scope": "window",
"type": "array",
"default": [],
"description": "List of regular expressions for Smarty variables that will disable XSS warning."
},
"smarty.xssExemptModifiers": {
"scope": "window",
"type": "array",
"default": [],
"description": "List of Smarty plugins that will disable XSS warning."
},
"smarty.customModifiers": {
"scope": "window",
"type": "array",
"default": [],
"description": "List of custom Smarty modifiers to show in completions. This is useful for plugins not defined in the plugins directory."
}
}
}
},
"scripts": {
"vscode:prepublish": "rm -rf server/out client/out && npm run compile",
"compile": "npm run copy-lib && tsc -b",
"watch": "npm run copy-lib && tsc -b -w",
"copy-lib": "mkdir -p server/out/lib/ && cp -r server/lib/ server/out/lib/",
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
},
"dependencies": {
"typescript": "^4.3.5"
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"eslint": "^7.26.0",
"mocha": "^8.3.2"
}
}