-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
119 lines (119 loc) · 4.96 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
{
"name": "google-java-format-for-vs-code",
"displayName": "Google Java Format for VS Code",
"description": "Visual Studio Code extension to format Java files using google-java-format program to comply with Google Java Style.",
"publisher": "josevseb",
"repository": "https://github.com/JoseVSeb/google-java-format-for-vs-code",
"version": "1.1.2",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:java"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": [
{
"title": "Google Java Format for VS Code",
"properties": {
"java.format.settings.google.executable": {
"type": "string",
"markdownDescription": "*Not Recommended.* Specifies url or file path to [Google Java Format jar executable](https://github.com/google/google-java-format/releases). Overrides `java.format.settings.google.version`.",
"default": null,
"scope": "window"
},
"java.format.settings.google.version": {
"type": "string",
"markdownDescription": "*Recommended.* Specifies version to be used of [Google Java Format executable](https://github.com/google/google-java-format/releases) in format `{major}.{minor}.{patch}`. Default: `latest`.",
"default": "latest",
"scope": "window"
},
"java.format.settings.google.mode": {
"type": "string",
"markdownDescription": "Specifies the runtime mode of [Google Java Format](https://github.com/google/google-java-format/releases). Used with `java.format.settings.google.version`",
"default": "native-binary",
"enum": [
"jar-file",
"native-binary"
],
"enumItemLabels": [
"Jar File",
"Native Binary"
],
"enumDescriptions": [
"Use Java runtime to execute jar file of Google Java Format.",
"Use Native Binary of Google Java Format, if available, otherwise, revert to Jar File."
],
"scope": "window"
},
"java.format.settings.google.extra": {
"type": "string",
"markdownDescription": "Extra CLI arguments to pass to [Google Java Format](https://github.com/google/google-java-format).",
"default": null,
"scope": "window"
}
}
}
],
"commands": [
{
"command": "googleJavaFormatForVSCode.reloadExecutable",
"title": "Google Java Format For VS Code: Reload Executable"
},
{
"command": "googleJavaFormatForVSCode.clearCache",
"title": "Google Java Format For VS Code: Clear Cache"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"format": "prettier --write \"src/**/*.(ts|js)\"",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.3",
"@types/mocha": "^10.0.6",
"@types/node": "~20.12.8",
"@types/vscode": "~1.75.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vscode/test-electron": "^2.3.9",
"@vscode/vsce": "^2.26.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"dotenv-cli": "^7.4.1",
"eslint": "^9.1.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"glob": "^10.3.12",
"mocha": "^10.4.0",
"prettier": "^3.2.5",
"semantic-release": "^23.0.8",
"semantic-release-vsce": "^5.7.1",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"node-fetch": "^3.3.2"
},
"overrides": {
"@typescript-eslint/eslint-plugin": {
"eslint": "$eslint"
}
}
}