2025-02-24 06:29:14 -05:00

81 lines
1.6 KiB
JSON

{
"$schema": "https://schema.kunkun.sh",
"name": "kunkun-ext-imgur-upload",
"version": "0.0.7",
"repository": {
"type": "git",
"url": "https://github.com/kunkunsh/kunkun-ext-imgur-upload"
},
"license": "MIT",
"type": "module",
"kunkun": {
"name": "Imgur Upload",
"shortDescription": "Upload images to Imgur",
"longDescription": "",
"identifier": "kunkun-ext-imgur-upload",
"permissions": [
"clipboard:write-text",
"clipboard:read-text",
"clipboard:read-image",
"clipboard:read-files",
"dialog:all",
"fetch:all",
{
"permission": "fs:exists",
"allow": [
{
"path": "**"
}
]
},
{
"permission": "fs:read",
"allow": [
{
"path": "**"
}
]
}
],
"demoImages": [],
"icon": {
"type": "iconify",
"value": "simple-icons:imgur",
"hexColor": "#72B077"
},
"templateUiCmds": [
{
"name": "Imgur Upload (Preferences)",
"main": "dist/preference.js",
"cmds": []
}
],
"headlessCmds": [
{
"name": "Imgur Upload",
"main": "dist/headless-upload.js",
"cmds": []
}
]
},
"scripts": {
"dev": "bun build.ts dev",
"build": "bun build.ts"
},
"dependencies": {
"@kksh/api": "^0.1.3",
"data-uri-to-buffer": "^6.0.2",
"i18next": "^23.15.1"
},
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"files": [
"./dist",
".gitignore"
]
}