-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 4.79 KB
/
package.json
File metadata and controls
162 lines (162 loc) · 4.79 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "coc-groovy",
"version": "1.5.0",
"description": "Groovy langauage extension for coc.nvim",
"author": "dansomething",
"license": "EPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/dansomething/coc-groovy"
},
"bugs": "https://github.com/dansomething/coc-groovy/issues",
"main": "lib/index.js",
"files": [
"/LICENSE",
"/README.md",
"/lib",
"/server",
"utils/gradle-classpath"
],
"keywords": [
"coc.nvim",
"groovy",
"languageserver"
],
"publisher": "dansomething",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"engines": {
"coc": ">=0.0.82",
"node": ">=18.20.0"
},
"scripts": {
"build": "node esbuild.mjs",
"clean": "rimraf lib",
"fix": "eslint --fix && prettier --write .",
"lint": "eslint && prettier --check .",
"prepare": "npm-run-all clean build",
"release": "np --no-tests",
"update": "ncu --peer --enginesNode",
"update-gradle-classpath": "./utils/update-gradle-classpath",
"watch": "NODE_ENV=development node esbuild.mjs --watch"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"semi": true
},
"devDependencies": {
"@types/glob": "9.0.0",
"@types/node": "^12.20.55",
"@typescript-eslint/eslint-plugin": "^8.35.1",
"@typescript-eslint/parser": "^8.35.1",
"coc.nvim": "^0.0.82",
"esbuild": "^0.25.5",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.1",
"expand-home-dir": "^0.0.3",
"find-java-home": "2.0.0",
"find-up": "^7.0.0",
"glob": "^10.4.5",
"np": "10.2.0",
"npm-check-updates": "^18.0.1",
"npm-run-all": "^4.1.5",
"path-exists": "^5.0.0",
"prettier": "^3.6.2",
"rimraf": "^5.0.10",
"typescript": "^4",
"vscode-languageserver-protocol": "^3.17.5"
},
"activationEvents": [
"onLanguage:groovy",
"workspaceContains:pom.xml",
"workspaceContains:build.gradle"
],
"contributes": {
"rootPatterns": [
{
"filetype": "groovy",
"patterns": [
"package.json",
".project",
".classpath",
"build.gradle"
]
}
],
"snippets": [
{
"language": "groovy",
"path": "./snippets/groovy.json"
}
],
"configuration": {
"type": "object",
"title": "Groovy configuration",
"properties": {
"groovy.enable": {
"type": "boolean",
"default": true,
"description": "Enable the coc-groovy extension."
},
"groovy.java.home": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the folder path to the JDK (8 or more recent) used to launch the Groovy Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"groovy.home\":\"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_161\"",
"scope": "window"
},
"groovy.ls.feature.noRoot": {
"type": "boolean",
"default": false,
"description": "Enables the Groovy language server to provide language features for standalone .groovy files outside of a workspace root."
},
"groovy.ls.vmargs": {
"type": [
"string",
"null"
],
"default": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
"description": "Specifies extra VM arguments used to launch the Groovy Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector.",
"scope": "window"
},
"groovy.ls.home": {
"type": "string",
"default": null,
"description": "Absolute path to the Groovy Language Server home. The bundled language server is used by default.",
"scope": "window"
},
"groovy.project.referencedLibraries": {
"type": [
"array"
],
"default": [],
"description": "Configure additional paths for referencing libraries in a Groovy project. Note, Maven and Gradle projects will have their classpath automatically added.",
"scope": "window"
},
"groovy.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between coc.nvim and the Groovy language server.",
"scope": "window"
}
}
},
"commands": [
{
"command": "groovy.project.config.update",
"title": "Update project configuration.",
"category": "Groovy"
}
]
}
}