forked from zhirui1994/bazel-vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 4.06 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 4.06 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
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
{
"name": "bazel-java",
"displayName": "Bazel extension for Java(TM) Language Support by Salesforce OSS",
"description": "Bazel support for Java Linting, Intellisense, formatting, refactoring and more...",
"author": "Salesforce OSS",
"license": "BSD-3-Clause",
"version": "1.5.0",
"publisher": "sfdc-eng",
"bugs": "https://github.com/salesforce/bazel-vscode-java/issues",
"preview": true,
"engines": {
"vscode": "^1.100.0"
},
"repository": {
"type": "git",
"url": "https://github.com/salesforce/bazel-vscode-java"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters",
"Snippets",
"Other"
],
"keywords": [
"multi-root ready",
"Bazel",
"Java"
],
"activationEvents": [
"onLanguage:java",
"workspaceContains:**/*.bazelproject",
"workspaceContains:**/WORKSPACE",
"workspaceContains:**/BUILD",
"workspaceContains:**/*.bazel"
],
"main": "./out/src/extension.js",
"contributes": {
"javaExtensions": [
"./server/org.eclipse.equinox.event.jar",
"./server/com.github.ben-manes.caffeine.jar",
"./server/org.jsr-305.jar",
"./server/org.fusesource.jansi.jar",
"./server/com.google.protobuf.jar",
"./server/com.salesforce.bazel.importedsource.jar",
"./server/com.salesforce.bazel.sdk.jar",
"./server/com.salesforce.bazel.eclipse.core.jar",
"./server/com.salesforce.bazel.eclipse.jdtls.jar"
],
"javaBuildFilePatterns": [
"^WORKSPACE(\\.bazel)?$",
"^BUILD(\\.bazel)?$",
".*\\.bazelproject$",
".*\\.java$"
],
"commands": [
{
"command": "java.bazel.updateClasspaths.command",
"title": "Refresh classpath from Bazel BUILD file",
"category": "Java"
},
{
"command": "java.bazel.debug.command",
"title": "Debug LS",
"category": "Bazel"
},
{
"command": "java.bazel.showStatus",
"title": "Show Bazel Build Status",
"category": "Bazel"
}
],
"menus": {
"commandPalette": [
{
"command": "java.bazel.updateClasspaths.command",
"when": "javaLSReady && isFileSystemResource"
},
{
"command": "java.bazel.debug.command",
"when": "javaLSReady && isFileSystemResource"
}
],
"explorer/context": [
{
"command": "java.bazel.updateClasspaths.command",
"when": "javaLSReady && isFileSystemResource",
"group": "1_javaactions@11"
}
]
}
},
"scripts": {
"vscode:prepublish": "run-s clean esbuild:base -- --minify",
"build": "run-s clean build:server esbuild:base",
"build:server": "gulp build_or_download",
"clean": "npx rimraf out meta.json stats.html *.vsix",
"esbuild:base": "tsx build.ts",
"esbuild:watch": "npm run esbuild:base -- --sourcemap --watch",
"analyze": "npm run esbuild:base -- --minify --metafile --analyze && esbuild-visualizer --metadata ./meta.json --open",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"test": "run-s clean test:*",
"test:compile": "tsc -b ./test/tsconfig.json",
"test:lint": "eslint --ext .js,.ts,.tsx src",
"test:repo": "gulp repo_check",
"test:extension": "vscode-test",
"package": "run-s clean build vsce:package",
"vsce:package": "npx vsce package --no-dependencies"
},
"extensionDependencies": [
"redhat.java",
"sfdc-eng.bazel-vscode"
],
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^8.0.4",
"@types/node": "^20.7.1",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.6.0",
"esbuild": "0.25.0",
"esbuild-plugin-eslint": "^0.3.7",
"esbuild-visualizer": "^0.4.1",
"eslint": "^8.45.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"glob": "^10.5.0",
"gulp": "^5.0.0",
"gulp-decompress": "^3.0.0",
"gulp-download": "^0.0.1",
"gulp-filter": "^7.0.0",
"gulp-regex-rename": "^0.1.0",
"gulp-rename": "^2.0.0",
"gulp-util": "^3.0.8",
"mocha": "^10.8.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"tsx": "^4.6.0",
"typescript": "^5.3.0",
"vscode-languageclient": "^9.0.1"
}
}