-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.1 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.1 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
{
"name": "phive",
"displayName": "Phive (PHP Live Server)",
"description": "Local PHP server with automatic port conflict resolution, live reloading, and WiFi network sharing.",
"version": "1.1.2",
"publisher": "fomadev",
"icon": "logo.png",
"repository": {
"type": "git",
"url": "https://github.com/fomadev/phive.git"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Phive",
"properties": {
"phive.phpPath": {
"type": "string",
"default": "php",
"description": "Full path to the PHP executable (e.g., C:\\\\php\\\\php.exe). By default, 'php' uses your system PATH."
},
"phive.port": {
"type": "number",
"default": 8000,
"description": "Preferred local port for the PHP server instance. If the specified port is occupied, Phive will automatically fall back to the next available sequential port."
}
}
},
"commands": [
{
"command": "phive.startServer",
"title": "Phive: Start PHP Server",
"category": "Phive"
},
{
"command": "phive.stopServer",
"title": "Phive: Stop PHP Server",
"category": "Phive"
}
],
"menus": {
"view/title": [
{
"command": "phive.startServer",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out"
},
"devDependencies": {
"@types/node": "18.x",
"@types/vscode": "^1.80.0",
"@types/ws": "^8.5.5",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"ip-address": "^10.1.0",
"open": "^8.4.2",
"portfinder": "^1.0.38",
"ws": "^8.19.0"
}
}