-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
168 lines (168 loc) · 5.15 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "lfortran-lsp",
"description": "LFortran language server protocol (LSP).",
"author": "LCompilers",
"license": "MIT",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/lfortran/lfortran-lsp"
},
"publisher": "LCompilers",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"onLanguage:fortran"
],
"main": "./out/client/src/extension.js",
"contributes": {
"languages": [
{
"id": "fortran",
"aliases": [
"lfortran"
],
"extensions": [
".f",
".for",
".f90",
".f95",
".f03"
]
}
],
"configuration": {
"type": "object",
"title": "LFortran Language Server",
"properties": {
"LFortranLanguageServer.openIssueReporterOnError": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Open the issue reporter to submit a generated bug report when an internal error is detected."
},
"LFortranLanguageServer.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"LFortranLanguageServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"LFortranLanguageServer.compiler.lfortranPath": {
"scope": "resource",
"type": "string",
"default": "lfortran",
"description": "The path to the LFortran compiler executable."
},
"LFortranLanguageServer.compiler.flags": {
"scope": "resource",
"type": "array",
"item": {
"type": "string"
},
"default": [],
"description": "Additional flags to pass to the LFortran compiler."
},
"LFortranLanguageServer.log.level": {
"scope": "resource",
"type": "string",
"enum": [
"off",
"fatal",
"error",
"warn",
"info",
"debug",
"trace",
"all"
],
"default": "info",
"description": "Lowest level of logs to include in the extension's console output."
},
"LFortranLanguageServer.log.benchmark": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Whether to benchmark event handlers and related operations."
},
"LFortranLanguageServer.log.filter": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Regular expression for filtering log messages."
},
"LFortranLanguageServer.log.prettyPrint": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Whether to pretty-print JSON objects and arrays."
},
"LFortranLanguageServer.log.indentSize": {
"scope": "resource",
"type": "number",
"default": 2,
"description": "Number of spaces to indent the pretty-printed JSON."
}
}
}
},
"scripts": {
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
"compile": "npm run check-types && node esbuild.js",
"check-types": "tsc --noEmit",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"vscode:prepublish": "npm run package",
"lint": "eslint ./server/src ./server/test/spec ./client/src ./integ/spec",
"test": "mocha server/test/spec/*.spec.ts",
"integ:transpile": "tsc -b ./integ",
"integ:test": "extest setup-and-run './out/integ/spec/**/*.spec.js' --code_version max --code_settings settings.json --extensions_dir .test-extensions",
"integ": "npm run integ:transpile && npm run integ:test",
"package": "npm run check-types && node esbuild.js --production"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.699.0",
"@eslint/js": "^9.15.0",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.9.1",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vscode/vsce": "^3.2.1",
"chai": "^5.1.2",
"esbuild": "^0.24.0",
"eslint": "^9.15.0",
"fast-check": "^3.23.1",
"globals": "^15.12.0",
"mocha": "^11.0.1",
"sinon": "^19.0.2",
"ts-sinon": "^2.0.2",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"vscode-extension-tester": "^8.9.0"
},
"dependencies": {
"@types/shell-escape": "^0.2.3",
"@types/which": "^3.0.4",
"shell-escape": "^0.2.0",
"source-map-support": "^0.5.21"
}
}