-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.28 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.28 KB
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
{
"name": "mathematic-vscode-api-linter",
"description": "Lint Protobuf API files using API Linter",
"displayName": "API Linter",
"author": "Mathematic Inc",
"license": "Apache-2.0",
"publisher": "mathematic",
"repository": {
"type": "git",
"url": "https://github.com/mathematic-inc/vscode-api-linter.git"
},
"version": "1.2.0",
"packageManager": "pnpm@10.32.1",
"engines": {
"vscode": "^1.110.0"
},
"keywords": [
"api-linter",
"protobuf",
"proto3",
"aip",
"grpc",
"linter"
],
"categories": [
"Linters"
],
"activationEvents": [
"onLanguage:proto3",
"onLanguage:proto"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "API Linter",
"properties": {
"apiLinter.command": {
"type": "array",
"default": [
"api-linter"
],
"description": "Command to run for API linter."
},
"apiLinter.configFile": {
"type": "string",
"default": ".apilinter.yml",
"description": "Path to a config file for API linter. If the file does not exist, a config will not be used."
},
"apiLinter.protoPaths": {
"type": "array",
"default": [],
"description": "Include paths to use for proto imports."
}
}
},
"commands": [
{
"command": "apiLinter.lint",
"title": "API Linter: Lint the current file"
}
]
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"build": "tsup",
"watch": "tsup --watch",
"package": "tsup --minify",
"lint": "ultracite check",
"format": "ultracite fix",
"prepare": "test -n \"$CI\" || lefthook install",
"deploy": "vsce publish"
},
"pnpm": {
"onlyBuiltDependencies": [
"@biomejs/biome",
"esbuild",
"lefthook"
]
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@types/glob": "^9.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^25.4.0",
"@types/vscode": "^1.110.0",
"@vscode/test-electron": "^2.5.2",
"glob": "^13.0.6",
"lefthook": "^2.1.3",
"mocha": "^11.7.5",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"ultracite": "^7.2.5",
"vsce": "^2.15.0"
}
}