71 lines
1.3 KiB
JSON
71 lines
1.3 KiB
JSON
{
|
|
"name": "local-snippets",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"dsh": {
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
}
|
|
},
|
|
"engines": {
|
|
"dsh": ">=0.2.1-rc.2 <0.3.0-0"
|
|
},
|
|
"dshGo": {
|
|
"v": 1,
|
|
"title": {
|
|
"zh": "片段",
|
|
"en": "Snippets"
|
|
},
|
|
"icon": "bookmark",
|
|
"wants": [
|
|
"draft",
|
|
"clipboard"
|
|
],
|
|
"contributes": {
|
|
"composer.actions": [
|
|
{
|
|
"id": "snippets",
|
|
"label": {
|
|
"zh": "片段",
|
|
"en": "Snippets"
|
|
},
|
|
"icon": "bookmark"
|
|
},
|
|
{
|
|
"id": "save-snippet",
|
|
"label": {
|
|
"zh": "存片段",
|
|
"en": "Save"
|
|
},
|
|
"icon": "save"
|
|
}
|
|
],
|
|
"composer.strip": [
|
|
{
|
|
"id": "snippet-count",
|
|
"icon": "bookmark",
|
|
"text": "片段",
|
|
"panel": "snippet-panel"
|
|
}
|
|
],
|
|
"panels": [
|
|
{
|
|
"id": "snippet-panel",
|
|
"title": {
|
|
"zh": "片段库",
|
|
"en": "Snippets"
|
|
},
|
|
"icon": "bookmark",
|
|
"placement": [
|
|
"session.tab",
|
|
"chat.panel",
|
|
"features",
|
|
"plugin"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |