-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
140 lines (140 loc) · 3.46 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
{
"name": "smarty-template-support",
"displayName": "Smarty Template Support",
"description": "Smarty template support with formatting, folding, snippets, syntax highlighting and more",
"author": {
"name": "Aswin Kumar",
"email": "[email protected]"
},
"license": "MIT",
"version": "2.1.1",
"publisher": "aswinkumar863",
"icon": "images/logo.png",
"galleryBanner": {
"color": "#BEAE3A",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/aswinkumar863/smarty-vscode-support.git"
},
"sponsor": {
"url": "https://ko-fi.com/aswinkumar863"
},
"categories": [
"Programming Languages",
"Language Packs",
"Formatters",
"Snippets",
"Other"
],
"keywords": [
"smarty",
"smarty 3",
"smarty template formatting",
"tpl",
"php"
],
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onLanguage:smarty"
],
"main": "./client/dist/node/nodeClientMain",
"browser": "./client/dist/browser/browserClientMain",
"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",
"embeddedLanguages": {
"source.smarty": "smarty",
"text.html.derivative": "html",
"source.js": "javascript",
"source.css": "css"
}
}
],
"snippets": [
{
"language": "smarty",
"path": "./snippets/snippets.json"
}
],
"commands": [
{
"category": "Smarty",
"command": "smarty.toggleHighlight",
"title": "Toggle Highlight Decoration"
}
],
"menus": {
"commandPalette": [
{
"command": "smarty.toggleHighlight",
"when": "editorLangId == smarty"
}
]
},
"configuration": {
"type": "object",
"title": "Smarty Template Support",
"properties": {
"smarty.highlight": {
"type": "boolean",
"description": "Enable/disable highlight decoration of Smarty tags",
"default": false
},
"smarty.highlightColor": {
"type": "object",
"description": "Highlight decoration color based on dark/light theme kind",
"default": {
"dark": "#FFFFFF25",
"light": "#FFFA0040"
}
}
}
}
},
"scripts": {
"test": "sh ./scripts/e2e.sh",
"test-compile": "tsc -p ./",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"vscode:prepublish": "npm run package && npm run package-web",
"compile": "webpack --config ./extension.webpack.config.js",
"watch": "webpack --watch --config ./extension.webpack.config.js",
"package": "webpack --mode production --devtool hidden-source-map --config ./extension.webpack.config.js",
"package:dev": "webpack --mode none --config ./extension.webpack.config.js",
"compile-web": "webpack --config ./extension-browser.webpack.config.js",
"watch-web": "webpack --watch --config ./extension-browser.webpack.config.js",
"package-web": "webpack --mode production --devtool hidden-source-map --config ./extension-browser.webpack.config.js",
"package-web:dev": "webpack --mode none --config ./extension.webpack.config.js"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"path-browserify": "^1.0.1",
"ts-loader": "^9.3.0",
"tslint": "^6.1.3",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"typescript": "^4.7.4"
}
}