Слияние кода завершено, страница обновится автоматически
{
"name": "vscode-hexo-utils",
"displayName": "Hexo Utils",
"description": "vscode extension for hexo",
"version": "0.3.1",
"license": "MIT",
"author": {
"name": "Jerry wang",
"email": "x.jerry.wang@gmail.com"
},
"bugs": {
"url": "https://github.com/0x-jerry/vscode-hexo-utils/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/0x-jerry/vscode-hexo-utils.git"
},
"publisher": "fantasy",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other"
],
"keywords": [
"hexo"
],
"icon": "resources/hexo.png",
"activationEvents": [
"workspaceContains:**/_config.yml"
],
"main": "./dist/extension.js",
"extensionKind": [
"ui",
"workspace"
],
"contributes": {
"configuration": {
"title": "Hexo",
"properties": {
"hexo.sortMethod": {
"type": "string",
"default": "name",
"enum": [
"name",
"date"
],
"description": "Controls posts(drafts) and categories(tags) sorted method, default sort by name."
},
"hexo.includeDraft": {
"type": "boolean",
"default": false,
"description": "Controls whether include drafts."
},
"hexo.hexoProjectRoot": {
"type": "string",
"default": "",
"description": "`Hexo` project path(relative to current workspace root), default is workspace root"
},
"hexo.markdown.resource": {
"type": "boolean",
"default": true,
"description": "Controls whether resolve image with hexo resource folder."
},
"hexo.upload": {
"type": "boolean",
"default": false,
"description": "Controls whether upload image when use paste image command."
},
"hexo.generateTimeFormat": {
"type": "string",
"default": "",
"description": "The time format when generate new article, default is ISO format."
},
"hexo.uploadType": {
"type": "string",
"enum": [
"imgchr",
"tencentoss"
],
"default": "imgchr",
"description": "Upload types."
},
"hexo.uploadImgchr": {
"type": "object",
"description": "路过图床 https://imgchr.com/",
"properties": {
"username": {
"type": "string",
"default": ""
},
"password": {
"type": "string",
"default": ""
}
}
},
"hexo.uploadTencentOSS": {
"type": "object",
"description": "Upload to TencentOSS",
"properties": {
"SecretId": {
"type": "string",
"description": "Tencent Account Secret ID"
},
"SecretKey": {
"type": "string",
"description": "Tencent Account Secret Key"
},
"Region": {
"type": "string",
"description": "Tencent COS Region, like: ap-hongkong"
},
"Bucket": {
"type": "string",
"description": "Tencent COS Bucket"
}
}
},
"hexo.assetFolderType": {
"type": "string",
"enum": [
"post",
"global"
],
"default": "post",
"description": "Paste image folder type. (if `post`, paste image to current post folder, else the image would be at global folder `/sources/images/<__post>/`)"
}
}
},
"commands": [
{
"command": "hexo.paste",
"title": "Hexo Paste Image"
},
{
"command": "hexo.rename",
"title": "Rename",
"category": "Hexo Utils"
},
{
"command": "hexo.new",
"title": "Create a new article",
"category": "Hexo Utils"
},
{
"command": "hexo.new[post]",
"title": "Create a new post",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-add.svg",
"dark": "resources/dark/icon-add.svg"
}
},
{
"command": "hexo.new[draft]",
"title": "Create a new draft",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-add.svg",
"dark": "resources/dark/icon-add.svg"
}
},
{
"command": "hexo.refresh",
"title": "Refresh sidebar",
"category": "Hexo Utils"
},
{
"command": "hexo.refresh[post]",
"title": "Refresh post",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-refresh.svg",
"dark": "resources/dark/icon-refresh.svg"
}
},
{
"command": "hexo.refresh[draft]",
"title": "Refresh draft",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-refresh.svg",
"dark": "resources/dark/icon-refresh.svg"
}
},
{
"command": "hexo.refresh[tags]",
"title": "Refresh tags",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-refresh.svg",
"dark": "resources/dark/icon-refresh.svg"
}
},
{
"command": "hexo.refresh[categories]",
"title": "Refresh categories",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-refresh.svg",
"dark": "resources/dark/icon-refresh.svg"
}
},
{
"command": "hexo.moveTo[draft]",
"title": "Move to draft",
"category": "Hexo Utils"
},
{
"command": "hexo.moveTo[post]",
"title": "Move to post",
"category": "Hexo Utils"
},
{
"command": "hexo.delete",
"title": "Delete",
"category": "Hexo Utils",
"icon": {
"light": "resources/light/icon-trash.svg",
"dark": "resources/dark/icon-trash.svg"
}
},
{
"command": "hexo.open",
"title": "Open a article",
"category": "Hexo Utils"
}
],
"keybindings": [
{
"command": "hexo.paste",
"key": "ctrl+alt+v",
"mac": "cmd+alt+v",
"when": "editorTextFocus"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "hexoUtils",
"title": "Hexo Utils",
"icon": "resources/hexo-activitybar.svg"
}
]
},
"views": {
"hexoUtils": [
{
"id": "hexo.post",
"name": "post",
"scope": "resource"
},
{
"id": "hexo.draft",
"name": "draft",
"scope": "resource"
},
{
"id": "hexo.categories",
"name": "categories"
},
{
"id": "hexo.tags",
"name": "tags"
}
]
},
"menus": {
"commandPalette": [
{
"command": "hexo.rename",
"when": "false"
},
{
"command": "hexo.moveTo[draft]",
"when": "false"
},
{
"command": "hexo.moveTo[post]",
"when": "false"
},
{
"command": "hexo.open",
"when": "false"
},
{
"command": "hexo.delete",
"when": "false"
}
],
"view/title": [
{
"command": "hexo.refresh[post]",
"group": "navigation",
"when": "view == hexo.post"
},
{
"command": "hexo.refresh[draft]",
"group": "navigation",
"when": "view == hexo.draft"
},
{
"command": "hexo.refresh[tags]",
"group": "navigation",
"when": "view == hexo.tags"
},
{
"command": "hexo.refresh[categories]",
"group": "navigation",
"when": "view == hexo.categories"
},
{
"command": "hexo.new[post]",
"group": "navigation",
"when": "view == hexo.post"
},
{
"command": "hexo.new[draft]",
"group": "navigation",
"when": "view == hexo.draft"
}
],
"view/item/context": [
{
"command": "hexo.moveTo[draft]",
"when": "view == hexo.post",
"group": "hexo@1"
},
{
"command": "hexo.moveTo[post]",
"when": "view == hexo.draft",
"group": "hexo@1"
},
{
"command": "hexo.delete",
"when": "view =~ /hexo.(draft|post)/",
"group": "hexo@3"
},
{
"command": "hexo.rename",
"when": "view =~ /hexo.(draft|post)/",
"group": "hexo@2"
}
]
},
"grammars": [
{
"scopeName": "text.hexo",
"path": "./syntaxes/markdown.hexo.tmLanguage.json",
"injectTo": [
"text.html.markdown"
]
}
],
"snippets": [
{
"language": "markdown",
"path": "./snippets/snippets.hexo.json"
}
],
"markdown.markdownItPlugins": true
},
"scripts": {
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r",
"vscode:prepublish": "tsup src/extension.ts --sourcemap",
"build": "tsup src/extension.ts --sourcemap --external vscode",
"dev": "tsup src/extension.ts --sourcemap --external vscode --watch",
"publish": "vsce publish --no-dependencies",
"release": "x-release"
},
"peerDependencies": {
"@types/vscode": "*"
},
"devDependencies": {
"@0x-jerry/x-release": "^0.4.0",
"@types/debounce": "^1.2.4",
"@types/debug": "^4.1.12",
"@types/markdown-it": "^13.0.7",
"@types/mustache": "^4.2.5",
"@types/node": "^20.10.6",
"@types/universal-analytics": "^0.4.8",
"@types/vscode": "^1.67.0",
"@types/yamljs": "^0.2.34",
"@vscode/vsce": "^2.22.0",
"axios": "^1.6.5",
"conventional-changelog-cli": "^4.1.0",
"cos-nodejs-sdk-v5": "^2.12.6",
"dayjs": "^1.11.10",
"debounce": "^2.0.0",
"debug": "^4.3.4",
"form-data": "^4.0.0",
"getmac": "^6.6.0",
"hexo-cli": "^4.3.1",
"markdown-it": "^14.0.0",
"mustache": "^4.2.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"universal-analytics": "^0.5.3",
"yamljs": "^0.3.0"
}
}
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )