加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.79 KB
一键复制 编辑 原始数据 按行查看 历史
tuboyou 提交于 2024-02-21 09:45 . 添加项目全局功能
{
"name": "vscode_api_daodan",
"displayName": "vscode_api_daodan",
"description": "",
"version": "0.0.1",
"type":"commonjs",
"engines": {
"vscode": "^1.72.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"icon": "image/icon.png",
"main": "./src/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "daodanview",
"title": "接口管理",
"icon": "image/api.svg"
}
]
},
"views": {
"daodanview": [
{
"id": "daodan.item",
"name": "项目"
},
{
"id": "daodan.interface",
"name": "接口"
},
{
"id": "daodan.operater",
"name": "其他操作"
}
]
},
"configuration": {
"title": "捣蛋鬼",
"properties": {
"daodan.token": {
"type": "string",
"default": "xxx",
"description": ""
},
"daodan.showTip": {
"type": "boolean",
"default": true,
"description": "是否在每次启动时显示欢迎提示!"
}
},
"type": "object"
},
"keybindings": [
{
"command": "daodan.nihao",
"key": "ctrl+f10",
"mac": "cmd+f10"
}
],
"menus": {
"view/title": [
{
"command": "daodan.refreshItem",
"group": "navigation",
"when": "view == daodan.item"
},
{
"command": "daodan.addItem",
"group": "navigation",
"when": "view == daodan.item"
},
{
"command": "daodan.addItemDir",
"group": "navigation",
"when": "view == daodan.item"
},
{
"command": "daodan.refreshInterface",
"group": "navigation",
"when": "view == daodan.interface"
},
{
"command": "daodan.addInterface",
"group": "navigation",
"when": "view == daodan.interface"
}
],
"explorer/context": [
{
"command": "daodan.addItem",
"group": "navigation",
"title": "添加"
}
],
"view/item/context": [
{
"command": "daodan.addItem",
"group": "navigation",
"title": "添加",
"when": "viewItem == '1file'"
},
{
"command": "daodan.addItem",
"group": "navigation",
"title": "重命名",
"when": "viewItem == '1file'"
}
]
},
"commands": [
{
"command": "daodan.nihao",
"title": "nihao"
},
{
"command": "daodan.login",
"title": "登录"
},
{
"command": "daodan.logout",
"title": "登出"
},
{
"command": "daodan.openWeb",
"title": "打开网页"
},
{
"command": "daodan.operateEditor",
"title": "打开编辑页面"
},
{
"command": "daodan.itemHandle",
"title": "处理 item 点击"
},
{
"command": "daodan.openTmpFile",
"title": "打开临时文件"
},
{
"command": "daodan.addItem",
"title": "添加项目",
"icon": {
"light": "image/add_light.svg",
"dark": "image/add.svg"
}
},
{
"command": "daodan.refreshItem",
"title": "刷新项目",
"icon": {
"light": "image/refresh_light.svg",
"dark": "image/refresh_dark.svg"
}
},
{
"command": "daodan.addItemDir",
"title": "添加项目目录",
"icon": {
"light": "image/add_dir_light.svg",
"dark": "image/add_dir_dark.svg"
}
},
{
"command": "daodan.addCase",
"title": "添加用例",
"icon": {
"light": "image/add_light.svg",
"dark": "image/add.svg"
}
},
{
"command": "daodan.refreshInterface",
"title": "刷新接口",
"icon": {
"light": "image/refresh_light.svg",
"dark": "image/refresh_dark.svg"
}
},
{
"command": "daodan.addInterface",
"title": "添加接口",
"icon": {
"light": "image/add_light.svg",
"dark": "image/add.svg"
}
}
]
},
"scripts": {},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.54.0",
"typescript": "^5.3.2",
"babel-eslint": "^10.1.0"
},
"dependencies": {
"axios": "^1.6.7",
"buffer": "^6.0.3",
"zlib": "^1.0.5"
},
"eslintConfig": {
"parser": "babel-eslint"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化