-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
98 lines (98 loc) · 2.74 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
{
"name": "lpython",
"description": "LPython Language Server",
"author": "LCompilers",
"license": "MIT",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/lcompilers/lpython-vscode-extension"
},
"publisher": "LPython",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"*"
],
"main": "./out/client/src/extension.js",
"contributes": {
"languages": [
{
"id": "LPython",
"aliases": [
"lpython",
"python"
],
"extensions": [
".py"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "LPython",
"scopeName": "source.lpython",
"path": "./syntaxes/lpython.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"LPythonLanguageServer.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"LPythonLanguageServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"LPythonLanguageServer.compiler.executablePath": {
"scope": "resource",
"type": "string",
"default": "lpython",
"description": "The path to the LPython compiler executable."
}
}
}
},
"scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin MagicStack/MagicPython grammars/MagicPython.tmLanguage ./syntaxes/MagicPython.tmLanguage.json grammars/MagicRegExp.tmLanguage ./syntaxes/MagicRegExp.tmLanguage.json",
"vscode:prepublish": "npm run compile",
"esbuild-base": "esbuild server/src/server.ts client/src/extension.ts --bundle --outdir=out --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap --minify",
"compile": "npm run esbuild",
"install-code-dep": "code --install-extension connor4312.esbuild-problem-matchers && code --install-extension dbaeumer.vscode-eslint",
"install": "cd server && npm install && cd ../client && npm install && cd .. && npm run install-code-dep",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "npx eslint ./client/src ./server/src --ext .ts,.tsx"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"eslint": "^8.13.0",
"mocha": "^9.2.1",
"typescript": "^4.7.2",
"esbuild": "^0.14.42"
},
"dependencies": {
"tmp": "^0.2.1"
}
}