-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
118 lines (118 loc) · 3.11 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
{
"name": "php-project",
"displayName": "PHP Project",
"description": "Serves current project or selected directory as a root directory for PHP server.",
"version": "2.3.0",
"publisher": "fedeparro",
"repository": {
"type": "git",
"url": "https://github.com/keyblade95/vscode-php-project.git"
},
"icon": "images/logo.png",
"engines": {
"vscode": "^1.5.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.startDefaultServer",
"onCommand:extension.startRelativeServer",
"onCommand:extension.stopServer"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.startDefaultServer",
"title": "Start PHP server",
"icon": {
"light": "./images/light/php-start.svg",
"dark": "./images/dark/php-start.svg"
}
},
{
"command": "extension.startRelativeServer",
"title": "Start PHP server at current directory"
},
{
"command": "extension.stopServer",
"title": "Stop PHP server",
"icon": {
"light": "./images/light/php-stop.svg",
"dark": "./images/dark/php-stop.svg"
}
}
],
"configuration": {
"type": "object",
"title": "PHP Project configuration",
"properties": {
"php-project.args": {
"type": "array",
"default": [
"-S",
"localhost:3000"
],
"items": {
"type": "string"
},
"description": "Arguments for PHP server. Can support VSCODE and ${cwd} variables. Arguments must be of type string, otherwise they will be skipped"
},
"php-project.defaultDirectory": {
"type": "string",
"default": "${workspaceRoot}",
"description": "Directory to use as root for PHP server"
},
"php-project.executablePath": {
"type": "string",
"default": null,
"description": "Path to executable used to lauch PHP server"
},
"php-project.useNativeExecutablePath": {
"type": "boolean",
"default": true,
"description": "Uses \"php.validate.executablePath\" or \"php.validate.executablePath\" as executable path"
},
"php-project.automaticRestart": {
"type": "boolean",
"default": false,
"description": "Automatically terminate server and start a new one when user tries to start new instance without closing current one"
},
"php-project.launchOutputTemplate": {
"type": "string",
"default": "PHP server running with ${cwd} as root directory. Reach server using localhost:3000",
"description": "Customize output at PHP server launch. Supports VSCODE, ${cwd}, ${args} and ${debug} variables"
}
}
},
"menus": {
"editor/context": [
{
"command": "extension.startRelativeServer",
"group": "phpServer"
}
],
"editor/title": [
{
"command": "extension.startDefaultServer",
"group": "navigation"
},
{
"command": "extension.stopServer",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^8.0.28",
"typescript": "^2.5.2",
"vscode": "^1.1.36"
}
}