2022-04-09 20:26:23 +08:00
|
|
|
{
|
2022-04-09 20:27:59 +08:00
|
|
|
"name": "simple-http",
|
|
|
|
"displayName": "simple http",
|
2022-04-09 20:26:23 +08:00
|
|
|
"description": "🔥 简单的http服务器, 方便临时调试html",
|
2023-04-17 11:33:48 +08:00
|
|
|
"version": "1.5.0",
|
2022-04-09 20:26:23 +08:00
|
|
|
"publisher": "yutent",
|
|
|
|
"author": "Yutent [@yutent]",
|
|
|
|
"icon": "logo.png",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.28.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
2023-02-23 09:47:27 +08:00
|
|
|
"onStartupFinished"
|
2022-04-09 20:26:23 +08:00
|
|
|
],
|
|
|
|
"main": "out.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "HttpServer.open",
|
|
|
|
"title": "在浏览器中打开"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"editor/context": [
|
|
|
|
{
|
|
|
|
"when": "!inOutput",
|
|
|
|
"command": "HttpServer.open",
|
|
|
|
"title": "在浏览器中打开"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/yutent/http.server.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"http.server",
|
|
|
|
"http server",
|
|
|
|
"simple http",
|
|
|
|
"yutent"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2023-04-17 11:33:48 +08:00
|
|
|
"bundle": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --platform=node",
|
|
|
|
"start": "npm run bundle -- --watch",
|
|
|
|
"pack": "npm run bundle -- --minify"
|
2022-04-09 20:26:23 +08:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
2022-04-09 20:28:45 +08:00
|
|
|
"dependencies": {},
|
2022-04-09 20:26:23 +08:00
|
|
|
"devDependencies": {
|
2022-04-09 20:28:45 +08:00
|
|
|
"iofs": "^1.5.0",
|
2022-04-09 20:26:23 +08:00
|
|
|
"esbuild": "^0.12.14"
|
|
|
|
}
|
|
|
|
}
|