-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
140 lines (140 loc) · 3.75 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": "ashlang",
"displayName": "AshLang",
"description": "AshLang Language support for VSCode",
"icon": "icon.png",
"author": {
"name": "Ayush Chothe",
"email": "[email protected]",
"url": "https://sh0rt.now.sh/ASH"
},
"publisher": "AyushChothe",
"repository": {
"url": "https://github.com/AyushChothe-AshLang/ash_lang_lsp"
},
"version": "0.0.3",
"engines": {
"vscode": "^1.71.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:ashlang",
"onCommand:ashlang.run"
],
"main": "./client/out/node/extension",
"browser": "./client/dist/web_extension.js",
"contributes": {
"languages": [
{
"id": "ashlang",
"aliases": [
"AshLang",
"ashlang"
],
"extensions": [
".ash"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "ashlang",
"scopeName": "source.ash",
"path": "./syntaxes/ashlang.tmLanguage.json"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == ashlang",
"command": "ashlang.run",
"group": "navigation"
}
],
"editor/title/run": [
{
"when": "resourceLangId == ashlang",
"command": "ashlang.run",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "ashlang.run",
"key": "alt+x"
}
],
"commands": [
{
"command": "ashlang.run",
"title": "Run Code (AshLang)",
"icon": "$(play)"
}
],
"configuration": {
"type": "object",
"title": "AshLang Server",
"properties": {
"ashlangServer.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"ashlangServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"ashlangServer.executablePath": {
"scope": "resource",
"type": "string",
"default": "ash_lang_cli",
"description": "The path to the ash_lang compiler executable."
},
"ashlangServer.maxCompilerInvocationTime": {
"scope": "resource",
"type": "number",
"default": 5000,
"description": "The maximum time in milliseconds that the compiler is allowed to take to process a file."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run compile-web",
"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",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map",
"chrome": "npm run compile-web && vscode-test-web --browserType=chromium --extensionDevelopmentPath=."
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-web": "^0.0.22",
"eslint": "^8.13.0",
"mocha": "^9.2.1",
"path-browserify": "^1.0.1",
"ts-loader": "^9.3.0",
"typescript": "^4.7.2",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2"
}
}