http.server/package.json

58 lines
1.2 KiB
JSON
Raw Normal View History

2022-04-09 20:26:23 +08:00
{
2022-04-09 20:27:59 +08:00
"name": "simple-http",
"displayName": "http server",
2022-04-09 20:26:23 +08:00
"description": "🔥 简单的http服务器, 方便临时调试html",
"version": "1.6.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",
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"
}
}