-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.51 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
{
"name": "mpx-template-features",
"description": "Language support for Mpx template",
"author": "wangshun",
"license": "MIT",
"version": "1.1.14",
"private": true,
"bugs": "https://github.com/wangshunnn/mpx-template-features/issues",
"homepage": "https://github.com/wangshunnn/mpx-template-features",
"repository": {
"type": "git",
"url": "https://github.com/wangshunnn/mpx-template-features"
},
"displayName": "Mpx Template Features",
"publisher": "wangshun",
"icon": "asset/mpx-icon.png",
"categories": [
"Programming Languages"
],
"keywords": [
"mpx",
"template language",
"definition"
],
"engines": {
"node": ">=18",
"vscode": "^1.75.0"
},
"activationEvents": [
"onLanguage:mpx"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "MpxTemplateFeatures",
"properties": {
"MpxTemplateFeatures.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"MpxTemplateFeatures.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"MpxTemplateFeatures.splitEditors.icon": {
"type": "boolean",
"default": true,
"description": "Show split editor icon in title area of editor."
},
"MpxTemplateFeatures.splitEditors.layout.left": {
"type": "array",
"default": [
"script",
"scriptSetup",
"styles"
]
},
"MpxTemplateFeatures.splitEditors.layout.right": {
"type": "array",
"default": [
"template",
"customBlocks"
]
}
}
},
"commands": [
{
"command": "MpxTemplateFeatures.action.splitEditors",
"title": "Split <script>, <template>, <style> Editors in Mpx",
"category": "Mpx",
"icon": "asset/mpx-icon.png"
}
],
"menus": {
"commandPalette": [
{
"command": "MpxTemplateFeatures.action.splitEditors",
"when": "editorLangId == mpx"
}
],
"editor/title": [
{
"command": "MpxTemplateFeatures.action.splitEditors",
"when": "resourceLangId == mpx && config.MpxTemplateFeatures.splitEditors.icon",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh",
"pack": "vsce package",
"publish": "vsce publish",
"publish:major": "vsce publish major",
"publish:minor": "vsce publish minor",
"publish:patch": "vsce publish patch"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.18.34",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.35.0",
"mocha": "^9.2.1",
"typescript": "^5.2.2"
},
"dependencies": {
"transform-to-unocss-core": "^0.0.30",
"ts-debounce": "^4.0.0"
}
}