加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
duxuyang 提交于 2020-12-09 19:14 . test
{
"name": "sss-upload-img",
"displayName": "sss-upload-img",
"description": "upload image to aliyun",
"version": "0.0.1",
"engines": {
"vscode": "^1.51.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.choosedImage",
"title": "选择图片"
}
],
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "extension.choosedImage",
"group": "navigation"
}
]
},
"configuration": [
{
"title": "图片上传工具配置",
"properties": {
"upload_image.domain": {
"type": "string",
"default": "",
"description": "设置图片域名"
},
"upload_image.accessKeyId": {
"type": "string",
"default": "",
"description": "设置阿里云上传accessKeyId"
},
"upload_image.accessKeySecret": {
"type": "string",
"default": "",
"description": "设置阿里云上传accessKeySecret"
},
"upload_image.bucket": {
"type": "string",
"default": "",
"description": "设置阿里云上传类型"
},
"upload_image.region": {
"type": "string",
"default": "",
"description": "设置阿里云存储地址"
}
}
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.51.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
},
"dependencies": {
"ali-oss": "^6.12.0",
"co": "^4.6.0",
"md5": "^2.3.0",
"moment": "^2.29.1",
"uuid": "^8.3.2"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化