-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
157 lines (157 loc) · 4.47 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
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
{
"name": "coc-groovy",
"version": "1.3.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.79",
"node": ">=15.0.0"
},
"scripts": {
"build": "webpack",
"clean": "rimraf lib",
"fix": "eslint src --ext ts --fix",
"lint": "eslint src --ext ts",
"prepare": "npm-run-all clean build",
"release": "np --no-tests",
"update-gradle-classpath": "./utils/update-gradle-classpath",
"watch": "webpack --watch"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"semi": true
},
"devDependencies": {
"@types/glob": "8.1.0",
"@types/node": "^10.12.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"coc.nvim": "^0.0.79-next.22",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"expand-home-dir": "^0.0.3",
"find-java-home": "2.0.0",
"find-up": "^6.3.0",
"glob": "^10.3.3",
"np": "8.0.4",
"npm-run-all": "^4.1.5",
"path-exists": "^5.0.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"vscode-languageserver-protocol": "^3.17.3",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"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.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"
}
]
}
}