-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
122 lines (122 loc) · 3.53 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
{
"name": "bacon-ls-vscode",
"displayName": "Bacon Language Server",
"description": "Rust diagnostic based on Bacon",
"publisher": "MatteoBigoi",
"version": "0.17.0",
"private": true,
"icon": "img/icon.png",
"repository": {
"url": "https://github.com/crisidev/bacon-ls.git",
"type": "git"
},
"license": "MIT",
"keywords": [
"diagnostic",
"rust",
"lsp"
],
"categories": [
"Linters",
"Other"
],
"engines": {
"node": "^20.18.0",
"vscode": "^1.84.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"category": "BaconLs",
"command": "bacon-ls.restart",
"title": "Restart"
}
],
"configuration": {
"type": "object",
"title": "BaconLs",
"properties": {
"bacon-ls.path": {
"scope": "machine-overridable",
"type": "string",
"description": "Path to the `bacon-ls` binary. If empty the bundled binary will be used."
},
"bacon-ls.locationsFile": {
"scope": "machine-overridable",
"type": "string",
"description": "Bacon export filename.",
"default": ".bacon-locations"
},
"bacon-ls.updateOnSave": {
"scope": "machine-overridable",
"type": "boolean",
"description": "Try to update diagnostics every time the file is saved.",
"default": true
},
"bacon-ls.updateOnSaveWaitMillis": {
"scope": "machine-overridable",
"type": "number",
"description": "How many milliseconds to wait before updating diagnostics after a save.",
"default": 1000
},
"bacon-ls.updateOnChange": {
"scope": "machine-overridable",
"type": "boolean",
"description": "Try to update diagnostics every time the file changes.",
"default": false
},
"bacon-ls.logLevel": {
"scope": "window",
"type": "string",
"enum": [
"off",
"error",
"warn",
"info",
"debug",
"trace"
],
"default": "off",
"markdownDescription": "Logging level of the language server. Logs will be saved in a file called bacon-ls.log if the level is not 'off'."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"package": "vsce package",
"esbuild-base": "esbuild ./vscode/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"build": "npm run esbuild-base -- --sourcemap",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "prettier --check . && eslint",
"fix": "prettier --write . && eslint --fix",
"pretest": "tsc && npm run build",
"test": "cross-env BACON_LS_PATH=$PWD/target/debug/bacon-ls node ./out/test/runTest.js"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^3.0.1",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.2",
"cross-env": "^7.0.3",
"esbuild": "^0.24.2",
"eslint": "^9.19.0",
"glob": "^11.0.1",
"mocha": "^11.1.0",
"ovsx": "^0.10.1",
"prettier": "^3.4.2",
"typescript": "^5.7.3"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}