http.server/package.json

79 lines
1.8 KiB
JSON

{
"name": "simple-http",
"displayName": "simple http.server",
"description": "🔥 简单的http服务器, 方便临时调试html",
"version": "1.7.0",
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
"engines": {
"vscode": "^1.28.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "out.js",
"contributes": {
"commands": [
{
"command": "HttpServer.open",
"title": "在浏览器中打开"
}
],
"menus": {
"editor/context": [
{
"when": "!inOutput",
"command": "HttpServer.open",
"title": "在浏览器中打开"
}
]
},
"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": "域名的证书的绝对路径"
}
}
}
},
"repository": {
"type": "git",
"url": "https://git.wkit.fun/yutent/http.server.git"
},
"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",
"start": "npm run bundle -- --watch",
"pack": "npm run bundle -- --minify"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"iofs": "^1.5.0",
"esbuild": "^0.12.14"
}
}
🔥 简单的http服务器, 方便临时调试html
JavaScript 94.6%
HTML 5.4%