1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/ml13-vscode-extension-cloud-storage

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
package.json 5.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
ml Отправлено 19.08.2021 08:12 d8864d5
{
"name": "cloud-storage",
"displayName": "cloud storage",
"description": "在 VSCode 中上传图片到腾讯云云存储",
"publisher": "mal",
"version": "0.0.5",
"repository": {
"type": "git",
"url": "https://github.com/MaLuns/vscode-extension-cloud-storage"
},
"author": {
"name": "白云苍狗"
},
"keywords": [
"图床",
"腾讯云",
"云存储",
"cos",
"cloud storage"
],
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"icon": "asserts/icons/logo128x128.png",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "cloud.storage.createDirectory",
"title": "创建文件夹",
"icon": "$(file-directory-create)"
},
{
"command": "cloud.storage.uploadFile",
"title": "上传文件",
"icon": "$(file-add)"
},
{
"command": "cloud.storage.uploadDirectory",
"title": "上传文件夹",
"icon": "$(file-add)"
},
{
"command": "cloud.storage.deleteFile",
"title": "删除文件",
"icon": "$(notebook-delete-cell)"
},
{
"command": "cloud.storage.deleteDirectory",
"title": "删除文件夹",
"icon": "$(notebook-delete-cell)"
},
{
"command": "cloud.storage.copyFileLink",
"title": "复制外链",
"icon": "$(link)"
},
{
"command": "cloud.storage.pasteImage",
"title": "粘贴图片",
"icon": "$(link)"
},
{
"command": "cloud.storage.treeRefresh",
"title": "刷新",
"icon": "$(refresh)"
}
],
"configuration": {
"title": "Cloud Storage",
"properties": {
"cloud.storage.secretId": {
"type": "string",
"default": "",
"description": "腾讯云 secretId"
},
"cloud.storage.secretKey": {
"type": "string",
"default": "",
"description": "腾讯云 secretKey"
},
"cloud.storage.envId": {
"type": "string",
"default": "",
"description": "云开发环境ID"
},
"cloud.storage.pasteImage": {
"type": "boolean",
"default": false,
"description": "上传剪贴板图片时选择云存储路径"
},
"cloud.storage.appendMDLink": {
"type": "boolean",
"default": true,
"description": "上传剪贴板图片后插入到MarkDown光标处"
}
}
},
"keybindings": [
{
"command": "cloud.storage.pasteImage",
"key": "shift+alt+v",
"mac": "cmd+alt+v",
"when": "cloud.storage.isShowView"
}
],
"menus": {
"commandPalette": [
{
"command": "cloud.storage.copyFileLink",
"when": "false"
},
{
"command": "cloud.storage.createDirectory",
"when": "false"
},
{
"command": "cloud.storage.uploadFile",
"when": "false"
},
{
"command": "cloud.storage.uploadDirectory",
"when": "false"
},
{
"command": "cloud.storage.deleteFile",
"when": "false"
},
{
"command": "cloud.storage.deleteDirectory",
"when": "false"
},
{
"command": "cloud.storage.treeRefresh",
"when": "false"
},
{
"command": "cloud.storage.pasteImage",
"when": "cloud.storage.isShowView"
}
],
"view/title": [
{
"command": "cloud.storage.uploadFile",
"when": "view == cloud.storage.list",
"group": "navigation@1"
},
{
"command": "cloud.storage.createDirectory",
"when": "view == cloud.storage.list",
"group": "navigation@2"
},
{
"command": "cloud.storage.treeRefresh",
"when": "view == cloud.storage.list",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "cloud.storage.createDirectory",
"when": "view == cloud.storage.list",
"group": "navigation@1"
},
{
"command": "cloud.storage.uploadFile",
"when": "view == cloud.storage.list",
"group": "navigation@2"
},
{
"command": "cloud.storage.uploadDirectory",
"when": "view == cloud.storage.list",
"group": "navigation@3"
},
{
"command": "cloud.storage.pasteImage",
"when": "view == cloud.storage.list",
"group": "navigation@3"
},
{
"command": "cloud.storage.copyFileLink",
"when": "view == cloud.storage.list && viewItem == 'file'",
"group": "navigation@4"
},
{
"command": "cloud.storage.deleteFile",
"when": "view == cloud.storage.list && viewItem == 'file'",
"group": "navigation@5"
},
{
"command": "cloud.storage.deleteDirectory",
"when": "view == cloud.storage.list && viewItem == 'folder'",
"group": "navigation@6"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "cloud-storage-view",
"title": "云存储",
"icon": "asserts/icons/logo.svg",
"when": "cloud.storage.isShowView"
}
]
},
"views": {
"cloud-storage-view": [
{
"name": "文件管理",
"id": "cloud.storage.list",
"when": "cloud.storage.isShowView"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
"@cloudbase/manager-node": "^3.9.3"
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/ml13-vscode-extension-cloud-storage.git
git@api.gitlife.ru:oschina-mirror/ml13-vscode-extension-cloud-storage.git
oschina-mirror
ml13-vscode-extension-cloud-storage
ml13-vscode-extension-cloud-storage
master