-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.84 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.84 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
{
"name": "palantir-java-formatter",
"displayName": "Palantir Java Formatter",
"description": "Format Java source files using Palantir Java Format",
"version": "0.2.1",
"publisher": "dokimos-dev",
"author": {
"name": "Fabio Kapsahili",
"email": "fabio.kapsahili@protonmail.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dokimos-dev/palantir-java-formatter.git"
},
"engines": {
"vscode": "^1.80.0"
},
"icon": "./icon.png",
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:java"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Palantir Java Format",
"properties": {
"palantirJavaFormat.enabled": {
"type": "boolean",
"default": true,
"description": "Enable Palantir Java Format"
},
"palantirJavaFormat.style": {
"type": "string",
"default": "PALANTIR",
"enum": [
"PALANTIR"
],
"description": "Formatting style"
},
"palantirJavaFormat.javaHome": {
"type": "string",
"default": "",
"description": "Path to Java home directory (uses JAVA_HOME env var if not set)"
},
"palantirJavaFormat.jvmArgs": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Additional JVM arguments"
}
}
},
"commands": [
{
"command": "palantirJavaFormat.restartDaemon",
"title": "Restart Palantir Java Format Daemon"
},
{
"command": "palantirJavaFormat.showOutput",
"title": "Show Palantir Java Format Output"
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --platform=node --target=es2022 --sourcemap",
"dev": "npm run build -- --watch",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"test": "node ./dist/test/runTest.js",
"package": "npx @vscode/vsce package",
"publish": "npx @vscode/vsce publish"
},
"devDependencies": {
"@eslint/js": "^8.56.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.10.0",
"@types/sinon": "^17.0.2",
"@types/uuid": "^9.0.1",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vscode/test-electron": "^2.3.8",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"prettier": "^3.1.0",
"sinon": "^17.0.1",
"typescript": "^5.3.3"
},
"dependencies": {
"uuid": "^9.0.1"
}
}