-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.42 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.42 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
{
"name": "prettier-plugin-java-vscode",
"displayName": "Prettier Java Plugin",
"description": "Format Java files with Prettier using prettier-plugin-java.",
"version": "1.0.4",
"publisher": "RudraPatel",
"license": "MIT",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"check-types": "tsc --noEmit",
"lint": "eslint src"
},
"repository": {
"type": "git",
"url": "https://github.com/RudraPatel2003/prettier-plugin-java-vscode"
},
"engines": {
"vscode": "^1.107.0"
},
"categories": [
"Formatters"
],
"icon": "icon.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "java",
"extensions": [
".java"
],
"aliases": [
"Java",
"java"
]
}
],
"configuration": {
"title": "Prettier Java Plugin",
"properties": {
"prettier-plugin-java-vscode.prettierConfigPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Provide an absolute, relative, or workspace-relative path to a Prettier config file. If not provided or missing, the extension will attempt to resolve the config file from the document file name."
},
"prettier-plugin-java-vscode.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the plugin."
}
}
}
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.107.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.2",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
},
"dependencies": {
"prettier": "^3.7.4",
"prettier-plugin-java": "^2.8.1"
}
}