http.server/package.json

79 lines
1.8 KiB
JSON
Raw Permalink Normal View History

2022-04-09 20:26:23 +08:00
{
2022-04-09 20:27:59 +08:00
"name": "simple-http",
2024-01-02 17:13:05 +08:00
"displayName": "simple http.server",
2022-04-09 20:26:23 +08:00
"description": "🔥 简单的http服务器, 方便临时调试html",
2024-02-21 14:52:53 +08:00
"version": "1.7.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": "在浏览器中打开"
}
]
2024-02-21 14:52:53 +08:00
},
"configuration": {
"type": "object",
"title": "HttpServer 通用配置",
"properties": {
"HttpServer.domain": {
"type": "string",
"default": "",
"description": "默认域名(需要手动绑hosts或DNS解析)"
},
"HttpServer.key": {
"type": "string",
"default": "",
"description": "域名的证书的绝对路径"
},
"HttpServer.cert": {
"type": "string",
"default": "",
"description": "域名的证书的绝对路径"
}
}
2022-04-09 20:26:23 +08:00
}
},
"repository": {
"type": "git",
2023-11-14 18:44:55 +08:00
"url": "https://git.wkit.fun/yutent/http.server.git"
2022-04-09 20:26:23 +08:00
},
"keywords": [
"http.server",
"http server",
"simple http",
"yutent"
],
"scripts": {
"bundle": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --target=es2020 --platform=node",
2023-04-17 11:33:48 +08:00
"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"
}
}