-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
138 lines (138 loc) · 3.86 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
{
"name": "typos-vscode",
"displayName": "Typos spell checker",
"description": "Low false-positive source code spell checker",
"publisher": "tekumara",
"version": "0.1.33",
"private": true,
"icon": "images/typos.png",
"repository": {
"url": "https://github.com/tekumara/typos-lsp.git",
"type": "git"
},
"license": "MIT",
"keywords": [
"spell",
"checker",
"spelling",
"spellchecker"
],
"categories": [
"Linters",
"Other"
],
"engines": {
"node": "^20.18.0",
"vscode": "^1.84.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"category": "Typos",
"command": "typos.restart",
"title": "Restart"
}
],
"configuration": {
"type": "object",
"title": "Typos",
"properties": {
"typos.path": {
"scope": "machine-overridable",
"type": "string",
"description": "Path to the `typos-lsp` binary. If empty the bundled binary will be used."
},
"typos.config": {
"scope": "machine-overridable",
"type": "string",
"description": "Path to a custom config file. Used together with any workspace config files, taking precedence for settings declared in both."
},
"typos.diagnosticSeverity": {
"scope": "window",
"type": "string",
"enum": [
"Error",
"Warning",
"Information",
"Hint"
],
"enumDescriptions": [
"Red squiggle",
"Yellow squiggle",
"Blue squiggle",
"Dots"
],
"default": "Warning",
"description": "How typos are rendered in the editor."
},
"typos.logLevel": {
"scope": "window",
"type": "string",
"enum": [
"off",
"error",
"warn",
"info",
"debug",
"trace"
],
"default": "warn",
"markdownDescription": "Logging level of the language server. Logs appear in the _Output -> Typos_ pane."
},
"typos.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"enumDescriptions": [
"No traces",
"Trace sent/received",
"Includes content of messages"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server. Recommended for debugging only."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"package": "vsce package",
"esbuild-base": "esbuild ./src/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 src --ext ts",
"fix": "prettier --write . && eslint src --ext ts --fix",
"pretest": "tsc && npm run build",
"test": "cross-env TYPOS_LSP_PATH=$PWD/target/debug/typos-lsp node ./out/test/runTest.js"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.12.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.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"cross-env": "^7.0.3",
"esbuild": "^0.24.2",
"eslint": "^8.57.1",
"glob": "^11.0.0",
"mocha": "^11.0.1",
"ovsx": "^0.10.1",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}