-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.55 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
{
"name": "egg-language-server",
"displayName": "egg-language-server",
"description": "language support with egg support",
"publisher": "framist",
"repository": {
"type": "git",
"url": "https://github.com/framist/egg-language-server"
},
"icon": "doc/asserts/icon_128.png",
"license": "MIT",
"version": "0.1.9",
"preview": true,
"pricing": "Free",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:lisp",
"onLanguage:common-lisp",
"onLanguage:scheme",
"onLanguage:python",
"onLanguage:javascript"
],
"main": "./client/out/main",
"contributes": {
"configuration": {
"type": "object",
"title": "egg-language-server configuration",
"properties": {
"EgglanguageServer.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"minimum": 1,
"description": "Controls the maximum number of problems produced by the server.",
"markdownDescription": "控制最多报告问题的数量"
},
"EgglanguageServer.ifExplanations": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Controls whether the server will show egg's explanations.",
"markdownDescription": "控制 是否显示 egg 重写方案解释"
},
"EgglanguageServer.ExplanationWithLet": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Controls whether the server will show egg's explanations with let.",
"markdownDescription": "控制 egg 重写方案解释是否采用 let 风格",
"dependencies": {
"EgglanguageServer.ifExplanations": true
}
},
"EgglanguageServer.ifEggIR": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Controls whether the server will show egg's IR.",
"markdownDescription": "控制 是否显示 egg 的中间表示"
},
"EgglanguageServer.outLanguage": {
"scope": "resource",
"type": "string",
"enum": [
"same as source",
"debug",
"python",
"C",
"lisp",
"javascript",
"rust"
],
"default": "same as source",
"description": "Controls the output pseudo-code style.",
"markdownDescription": "控制 输出的优化结果参考的伪代码语言类型"
},
"EgglanguageServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
},
"commands": [
{
"command": "EgglanguageServer.restart",
"title": "Restart EgglanguageServer"
}
]
},
"scripts": {
"vscode:prepublish_old": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ..",
"test": "sh ./scripts/e2e.sh",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./client/src/extension.ts --bundle --outfile=client/out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"esbuild": "^0.18.19",
"eslint": "^8.26.0",
"mocha": "^9.2.1",
"typescript": "^4.9.4"
}
}