-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
169 lines (169 loc) · 5.99 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
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "vscode-phpactor",
"version": "0.0.0-development",
"description": "Phpactor PHP Language Server extension for vscode",
"main": "./out/extension.js",
"publisher": "phpactor",
"engines": {
"vscode": "^1.61.0"
},
"keywords": [
"vscode",
"php",
"phpactor"
],
"scripts": {
"clean": "rimraf out",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"compile": "npm run clean && tsc -p ./",
"composer": "composer install",
"download-phpactor": "curl -L https://github.com/phpactor/phpactor/releases/download/2024.11.05.0/phpactor.phar > phpactor.phar",
"package": "npx vsce package --out=artifacts/phpactor.vsix",
"lint": "npm run eslint && npm run prettier",
"eslint": "eslint \"src/**/*.ts\"",
"prettier": "prettier \"**/{*.json,*.yml,.*.yml,*.ts,.prettierrc,*.md}\" --write --list-different",
"prettier-check": "npm run prettier -- --write=false",
"test": "node ./out/test/runTests.js"
},
"activationEvents": [
"onLanguage:php",
"onLanguage:blade"
],
"contributes": {
"commands": [
{
"command": "phpactor.reindex",
"title": "Re-index workspace",
"category": "Phpactor"
},
{
"command": "phpactor.config.dump",
"title": "Dump the configuration",
"category": "Phpactor"
},
{
"command": "phpactor.services.list",
"title": "List currently running services",
"category": "Phpactor"
},
{
"command": "phpactor.status",
"title": "Show current status",
"category": "Phpactor"
}
],
"configuration": {
"title": "Phpactor",
"properties": {
"phpactor.trace.server": {
"scope": "window",
"type": "object",
"description": "Traces the communication between VS Code and the language server.",
"properties": {
"verbosity": {
"type": "string",
"description": "Controls the verbosity of the trace.",
"enum": [
"off",
"message",
"verbose"
],
"default": "off"
},
"format": {
"type": "string",
"description": "Controls the output format of the trace.",
"enum": [
"text",
"json"
],
"default": "text"
}
}
},
"phpactor.path": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the path to the Phpactor binary"
},
"phpactor.executablePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "The path to a PHP executable."
},
"phpactor.enable": {
"type": "boolean",
"default": true,
"description": "Whether to enable the language server"
},
"phpactor.config": {
"type": "object",
"default": {},
"description": "Specifies the underlying Phpactor configuration."
},
"phpactor.remote.enabled": {
"type": "boolean",
"default": false,
"description": "Connect to language server via socket instead stdio"
},
"phpactor.remote.host": {
"type": "string",
"default": "127.0.0.1",
"description": "Host that language server is running"
},
"phpactor.remote.port": {
"type": "integer",
"default": 9090,
"description": "Port that language server is running"
},
"phpactor.launchServerArgs": {
"type": "array",
"default": [],
"description": "Arguments passeds to language server. Only applies if language server is running in stdio mode"
}
}
}
},
"icon": "images/logo.png",
"author": "daniel@dantleech.com",
"license": "MIT",
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^20.0.0",
"@types/vscode": "^1.61.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vscode/test-electron": "^2.1.3",
"@vscode/vsce": "^3.0.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jsdoc": "^50.0.0",
"glob": "^11.0.0",
"mocha": "^10.1.0",
"ovsx": "^0.10.0",
"prettier": "3.3.3",
"rimraf": "~6.0.0",
"source-map-support": "^0.5.12",
"ts-loader": "~9.5.0",
"tslib": "^2.1.0",
"typescript": "^5.0.0"
},
"dependencies": {
"vscode-languageclient": "^6.1.3"
},
"repository": {
"type": "git",
"url": "https://github.com/phpactor/vscode-phpactor"
},
"sponsor": {
"url": "https://github.com/sponsors/dantleech"
}
}